<html>
<head><meta charset="UTF-8" /><script>
var $gwt_version = "2.3.0";
var $wnd = parent;
var $doc = $wnd.document;
var $moduleName, $moduleBase;
var $strongName = '7CEC0D09D17C05D86EEB7E303F7C4842';
var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,
$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;
$stats && $stats({moduleName:'playmaker',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});
</script></head>
<body>
<script><!--
var _, N81_longLit = {l:4194175, m:4194303, h:1048575}, N1_longLit = {l:4194303, m:4194303, h:1048575}, P0_longLit = {l:0, m:0, h:0}, P80_longLit = {l:128, m:0, h:0}, P3e8_longLit = {l:1000, m:0, h:0};
function nullMethod(){
}

function Object_0(){
}

_ = Object_0.prototype = {};
_.equals$ = function equals(other){
  return this === other;
}
;
_.getClass$ = function getClass_0(){
  return Ljava_lang_Object_2_classLit;
}
;
_.hashCode$ = function hashCode_0(){
  return this.$H || (this.$H = ++sNextHashId);
}
;
_.toString$ = function toString_0(){
  return this.getClass$().typeName + '@' + toPowerOfTwoString(this.hashCode$());
}
;
_.toString = function(){
  return this.toString$();
}
;
_.typeMarker$ = nullMethod;
_.castableTypeMap$ = {};
function equals__devirtual$(this$static, other){
  var maybeJsoInvocation;
  return maybeJsoInvocation = this$static , maybeJsoInvocation.typeMarker$ == nullMethod || maybeJsoInvocation.castableTypeMap$ && !!maybeJsoInvocation.castableTypeMap$[1]?maybeJsoInvocation.equals$(other):maybeJsoInvocation === other;
}

function getClass__devirtual$(this$static){
  var maybeJsoInvocation;
  return maybeJsoInvocation = this$static , maybeJsoInvocation.typeMarker$ == nullMethod || maybeJsoInvocation.castableTypeMap$ && !!maybeJsoInvocation.castableTypeMap$[1]?maybeJsoInvocation.getClass$():Lcom_google_gwt_core_client_JavaScriptObject_2_classLit;
}

function hashCode__devirtual$(this$static){
  var maybeJsoInvocation;
  return maybeJsoInvocation = this$static , maybeJsoInvocation.typeMarker$ == nullMethod || maybeJsoInvocation.castableTypeMap$ && !!maybeJsoInvocation.castableTypeMap$[1]?maybeJsoInvocation.hashCode$():maybeJsoInvocation.$H || (maybeJsoInvocation.$H = ++sNextHashId);
}

function $createStreamReader(this$static, encoded){
  var clientSerializationStreamReader;
  clientSerializationStreamReader = new ClientSerializationStreamReader_0(this$static.serializer);
  $prepareToRead(clientSerializationStreamReader, getEncodedInstance(encoded));
  return clientSerializationStreamReader;
}

function $createStreamWriter(this$static){
  var clientSerializationStreamWriter;
  clientSerializationStreamWriter = new ClientSerializationStreamWriter_0(this$static.serializer, this$static.moduleBaseURL, this$static.serializationPolicyName);
  clientSerializationStreamWriter.objectCount = 0;
  $clearImpl(clientSerializationStreamWriter.objectMap);
  clientSerializationStreamWriter.stringMap.clear();
  $clear_0(clientSerializationStreamWriter.stringTable);
  clientSerializationStreamWriter.encodeBuffer = new StringBuffer_0;
  $writeString(clientSerializationStreamWriter, clientSerializationStreamWriter.moduleBaseURL);
  $writeString(clientSerializationStreamWriter, clientSerializationStreamWriter.serializationPolicyStrongName);
  return clientSerializationStreamWriter;
}

function $doInvoke(this$static, responseReader, methodName, statsContext, requestData, callback){
  var $e0, ex, iex, rb;
  rb = $doPrepareRequestBuilderImpl(this$static, responseReader, methodName, statsContext, requestData, callback);
  try {
    return throwIfNull('callback', rb.callback) , $doSend(rb, rb.requestData, rb.callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 73)) {
      ex = $e0;
      iex = new InvocationException_1(ex);
      callback.onFailure(iex);
    }
     else 
      throw $e0;
  }
   finally {
    !!$stats && $stats($bytesStat(statsContext, methodName, requestData.length, 'requestSent'));
  }
  return null;
}

function $doPrepareRequestBuilderImpl(this$static, responseReader, methodName, statsContext, requestData, callback){
  var responseHandler;
  if (this$static.remoteServiceURL == null) {
    throw new ServiceDefTarget$NoServiceEntryPointSpecifiedException_0;
  }
  responseHandler = new RequestCallbackAdapter_0(this$static, methodName, statsContext, callback, responseReader);
  !this$static.rpcRequestBuilder && (this$static.rpcRequestBuilder = new RpcRequestBuilder_0);
  $create(this$static.rpcRequestBuilder, this$static.remoteServiceURL);
  $setCallback(this$static.rpcRequestBuilder, responseHandler);
  $setHeader(this$static.rpcRequestBuilder.builder, 'Content-Type', 'text/x-gwt-rpc; charset=utf-8');
  $setRequestData(this$static.rpcRequestBuilder, requestData);
  return $finish_0(this$static.rpcRequestBuilder);
}

function RemoteServiceProxy_0(moduleBaseURL, remoteServiceRelativePath, serializationPolicyName, serializer){
  this.moduleBaseURL = moduleBaseURL;
  remoteServiceRelativePath != null && (this.remoteServiceURL = moduleBaseURL + remoteServiceRelativePath);
  this.serializer = serializer;
  this.serializationPolicyName = serializationPolicyName;
}

function getEncodedInstance(encodedResponse){
  if (encodedResponse.indexOf('//OK') == 0 || encodedResponse.indexOf('//EX') == 0) {
    return encodedResponse.substr(4, encodedResponse.length - 4);
  }
  return encodedResponse;
}

function RemoteServiceProxy(){
}

_ = RemoteServiceProxy.prototype = new Object_0;
_.getClass$ = function getClass_1(){
  return Lcom_google_gwt_user_client_rpc_impl_RemoteServiceProxy_2_classLit;
}
;
_.castableTypeMap$ = {};
_.moduleBaseURL = null;
_.remoteServiceURL = null;
_.rpcRequestBuilder = null;
_.serializationPolicyName = null;
_.serializer = null;
function $clinit(){
  $clinit = nullMethod;
  SERIALIZER = new LoginService_TypeSerializer_0;
}

function $login(this$static, requestUri, async){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'LoginService_Proxy.login', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.LoginService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'login'));
    append(streamWriter.encodeBuffer, '1');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, requestUri));
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'LoginService_Proxy.login', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'LoginService_Proxy.login', statsContext, payload, async);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 2))
      throw $e0;
  }
}

function LoginService_Proxy_0(){
  $clinit();
  RemoteServiceProxy_0.call(this, $moduleBase, 'login', 'AF94A2F09F24CCF4BCE5AC1686179061', SERIALIZER);
}

function LoginService_Proxy(){
}

_ = LoginService_Proxy_0.prototype = LoginService_Proxy.prototype = new RemoteServiceProxy;
_.getClass$ = function getClass_2(){
  return Lcom_dnb_webmash_playmaker_client_LoginService_1Proxy_2_classLit;
}
;
_.castableTypeMap$ = {};
var SERIALIZER;
function $check(this$static, typeSignature){
  if (!this$static.methodMapNative[typeSignature]) {
    throw new SerializationException_0(typeSignature);
  }
}

function $deserialize(this$static, stream, instance, typeSignature){
  $check(this$static, typeSignature);
  $deserialize_0(this$static.methodMapNative, stream, instance, typeSignature);
}

function $getSerializationSignature(this$static, clazz){
  return this$static.signatureMapNative[clazz.$H || (clazz.$H = ++sNextHashId)];
}

function $instantiate(this$static, stream, typeSignature){
  $check(this$static, typeSignature);
  return $instantiate_0(this$static.methodMapNative, stream, typeSignature);
}

function $serialize(this$static, stream, instance, typeSignature){
  $check(this$static, typeSignature);
  $serialize_0(this$static.methodMapNative, stream, instance, typeSignature);
}

function SerializerBase_0(methodMapNative, signatureMapNative){
  new HashMap_0;
  this.methodMapNative = methodMapNative;
  this.signatureMapNative = signatureMapNative;
}

function SerializerBase(){
}

_ = SerializerBase.prototype = new Object_0;
_.getClass$ = function getClass_3(){
  return Lcom_google_gwt_user_client_rpc_impl_SerializerBase_2_classLit;
}
;
_.castableTypeMap$ = {};
_.methodMapNative = null;
_.signatureMapNative = null;
function $clinit_0(){
  var result, result_0;
  $clinit_0 = nullMethod;
  methodMapNative_0 = (result = {} , result['com.dnb.webmash.playmaker.shared.LoginInfo/1393240290'] = [instantiate, deserialize] , result['com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533'] = [instantiate_47, deserialize_47, serialize_44] , result['com.google.gwt.user.client.rpc.RpcTokenException/2345075298'] = [instantiate_48, deserialize_48] , result['com.google.gwt.user.client.rpc.XsrfToken/4254043109'] = [undefined, undefined, serialize_45] , result['java.lang.String/2004016611'] = [instantiate_53, deserialize_53, serialize_48] , result);
  signatureMapNative_0 = (result_0 = [] , result_0[getHashCode(Lcom_dnb_webmash_playmaker_shared_LoginInfo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.LoginInfo/1393240290' , result_0[getHashCode(Lcom_google_gwt_user_client_rpc_IncompatibleRemoteServiceException_2_classLit)] = 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533' , result_0[getHashCode(Lcom_google_gwt_user_client_rpc_RpcTokenException_2_classLit)] = 'com.google.gwt.user.client.rpc.RpcTokenException/2345075298' , result_0[getHashCode(Lcom_google_gwt_user_client_rpc_XsrfToken_2_classLit)] = 'com.google.gwt.user.client.rpc.XsrfToken/4254043109' , result_0[getHashCode(Ljava_lang_String_2_classLit)] = 'java.lang.String/2004016611' , result_0);
}

function LoginService_TypeSerializer_0(){
  $clinit_0();
  SerializerBase_0.call(this, methodMapNative_0, signatureMapNative_0);
}

function LoginService_TypeSerializer(){
}

_ = LoginService_TypeSerializer_0.prototype = LoginService_TypeSerializer.prototype = new SerializerBase;
_.getClass$ = function getClass_4(){
  return Lcom_dnb_webmash_playmaker_client_LoginService_1TypeSerializer_2_classLit;
}
;
_.castableTypeMap$ = {};
var methodMapNative_0 = null, signatureMapNative_0 = null;
function $onModuleLoad(){
  var addMediaTab, loginService, mainDecoratedTabPanel, mediaTypesTab, tab3_aboutFrame, tab4_contactFrame, watchTab, windowHeight;
  mainDecoratedTabPanel = new DecoratedTabPanel_0;
  $add_0(($clinit_70() , get_0()), mainDecoratedTabPanel);
  mainDecoratedTabPanel.element.style['width'] = '100%';
  windowHeight = $getClientHeight($doc);
  mainDecoratedTabPanel.element.style['height'] = windowHeight + 'px';
  watchTab = new WatchTab_0;
  $insert_0(mainDecoratedTabPanel, watchTab, 'Watch', mainDecoratedTabPanel.deck.children.size);
  $setWidth_0(watchTab, '100%');
  watchTab.element.style['height'] = windowHeight + 'px';
  mediaTypesTab = new MediaTypesTab_0;
  mediaTypesTab.element.style['width'] = '100%';
  mediaTypesTab.element.style['height'] = windowHeight + 'px';
  addMediaTab = new AddMediaTab_0;
  $insert_0(mainDecoratedTabPanel, addMediaTab, 'Add Media', mainDecoratedTabPanel.deck.children.size);
  addMediaTab.element.style['width'] = '100%';
  addMediaTab.element.style['height'] = windowHeight + 'px';
  tab3_aboutFrame = new Frame_1('About');
  tab3_aboutFrame.element.src = '/about.html';
  $insert_0(mainDecoratedTabPanel, tab3_aboutFrame, 'About', mainDecoratedTabPanel.deck.children.size);
  tab3_aboutFrame.element.style['width'] = '100%';
  tab3_aboutFrame.element.style['height'] = windowHeight + 'px';
  tab4_contactFrame = new Frame_1('Contact');
  tab4_contactFrame.element.src = '/contact.html';
  $insert_0(mainDecoratedTabPanel, tab4_contactFrame, 'Contact', mainDecoratedTabPanel.deck.children.size);
  tab4_contactFrame.element.style['width'] = '100%';
  tab4_contactFrame.element.style['height'] = windowHeight + 'px';
  $selectTab(mainDecoratedTabPanel.tabBar, 0);
  loginService = new LoginService_Proxy_0;
  $login(loginService, getHostPageBaseURL(), new PlayMaker$1_0(mainDecoratedTabPanel, mediaTypesTab));
  addResizeHandler(new PlayMaker$2_0(mainDecoratedTabPanel, watchTab, mediaTypesTab, addMediaTab, tab3_aboutFrame, tab4_contactFrame));
}

function PlayMaker_0(){
  new Button_0('Submit_URL');
  $clinit_77();
}

function PlayMaker(){
}

_ = PlayMaker_0.prototype = PlayMaker.prototype = new Object_0;
_.getClass$ = function getClass_5(){
  return Lcom_dnb_webmash_playmaker_client_PlayMaker_2_classLit;
}
;
_.castableTypeMap$ = {};
function $onSuccess(this$static, result){
  result.loggedIn?result.admin?$add_1(this$static.val$mainDecoratedTabPanel, this$static.val$mediaTypesTab):$remove_5(this$static.val$mainDecoratedTabPanel.deck, this$static.val$mediaTypesTab):$remove_5(this$static.val$mainDecoratedTabPanel.deck, this$static.val$mediaTypesTab);
}

function PlayMaker$1_0(val$mainDecoratedTabPanel, val$mediaTypesTab){
  this.val$mainDecoratedTabPanel = val$mainDecoratedTabPanel;
  this.val$mediaTypesTab = val$mediaTypesTab;
}

function PlayMaker$1(){
}

_ = PlayMaker$1_0.prototype = PlayMaker$1.prototype = new Object_0;
_.getClass$ = function getClass_6(){
  return Lcom_dnb_webmash_playmaker_client_PlayMaker$1_2_classLit;
}
;
_.onFailure = function onFailure(caught){
}
;
_.onSuccess = function onSuccess(result){
  $onSuccess(this, dynamicCast(result, 3));
}
;
_.castableTypeMap$ = {};
_.val$mainDecoratedTabPanel = null;
_.val$mediaTypesTab = null;
function PlayMaker$2_0(val$mainDecoratedTabPanel, val$watchTab, val$mediaTypesTab, val$addMediaTab, val$tab3_aboutFrame, val$tab4_contactFrame){
  this.val$mainDecoratedTabPanel = val$mainDecoratedTabPanel;
  this.val$watchTab = val$watchTab;
  this.val$mediaTypesTab = val$mediaTypesTab;
  this.val$addMediaTab = val$addMediaTab;
  this.val$tab3_aboutFrame = val$tab3_aboutFrame;
  this.val$tab4_contactFrame = val$tab4_contactFrame;
}

function PlayMaker$2(){
}

_ = PlayMaker$2_0.prototype = PlayMaker$2.prototype = new Object_0;
_.getClass$ = function getClass_7(){
  return Lcom_dnb_webmash_playmaker_client_PlayMaker$2_2_classLit;
}
;
_.onResize = function onResize(event_0){
  var height;
  height = event_0.height_0;
  this.val$mainDecoratedTabPanel.element.style['height'] = height + 'px';
  $setSize(this.val$watchTab, '100%', height + 'px');
  $setSize(this.val$mediaTypesTab, '100%', height + 'px');
  $setSize(this.val$addMediaTab, '100%', height + 'px');
  $setSize(this.val$tab3_aboutFrame, '100%', height + 'px');
  $setSize(this.val$tab4_contactFrame, '100%', height + 'px');
}
;
_.castableTypeMap$ = {61:1, 78:1};
_.val$addMediaTab = null;
_.val$mainDecoratedTabPanel = null;
_.val$mediaTypesTab = null;
_.val$tab3_aboutFrame = null;
_.val$tab4_contactFrame = null;
_.val$watchTab = null;
function $replaceNode(node, newNode){
  var p = node.parentNode;
  if (!p) {
    return;
  }
  p.insertBefore(newNode, node);
  p.removeChild(node);
}

function $setElement(this$static, elem){
  this$static.element = elem;
}

function $setSize(this$static, width, height){
  this$static.setWidth_0(width);
  this$static.setHeight_0(height);
}

function $setTitle(this$static, title){
  title == null || title.length == 0?(this$static.element.removeAttribute('title') , undefined):(this$static.element.setAttribute('title', title) , undefined);
}

function setStyleName(elem, style, add){
  if (!elem) {
    throw new RuntimeException_0('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.');
  }
  style = $trim(style);
  if (style.length == 0) {
    throw new IllegalArgumentException_1('Style names cannot be empty');
  }
  add?$addClassName(elem, style):$removeClassName(elem, style);
}

function setStylePrimaryName(elem, style){
  if (!elem) {
    throw new RuntimeException_0('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.');
  }
  style = $trim(style);
  if (style.length == 0) {
    throw new IllegalArgumentException_1('Style names cannot be empty');
  }
  updatePrimaryAndDependentStyleNames(elem, style);
}

function updatePrimaryAndDependentStyleNames(elem, newPrimaryStyle){
  var classes = elem.className.split(/\s+/);
  if (!classes) {
    return;
  }
  var oldPrimaryStyle = classes[0];
  var oldPrimaryStyleLen = oldPrimaryStyle.length;
  classes[0] = newPrimaryStyle;
  for (var i = 1, n = classes.length; i < n; i++) {
    var name_0 = classes[i];
    name_0.length > oldPrimaryStyleLen && name_0.charAt(oldPrimaryStyleLen) == '-' && name_0.indexOf(oldPrimaryStyle) == 0 && (classes[i] = newPrimaryStyle + name_0.substring(oldPrimaryStyleLen));
  }
  elem.className = classes.join(' ');
}

function UIObject(){
}

_ = UIObject.prototype = new Object_0;
_.getClass$ = function getClass_8(){
  return Lcom_google_gwt_user_client_ui_UIObject_2_classLit;
}
;
_.getStyleElement = function getStyleElement(){
  return this.element;
}
;
_.setHeight_0 = function setHeight(height){
  this.element.style['height'] = height;
}
;
_.setSize = function setSize(width, height){
  this.setWidth_0(width);
  this.setHeight_0(height);
}
;
_.setVisible = function setVisible(visible){
  this.element.style.display = visible?'':'none';
}
;
_.setWidth_0 = function setWidth(width){
  this.element.style['width'] = width;
}
;
_.toString$ = function toString_1(){
  if (!this.element) {
    return '(null handle)';
  }
  return $toString_0(this.element);
}
;
_.castableTypeMap$ = {28:1};
_.element = null;
function $clinit_1(){
  $clinit_1 = nullMethod;
  itemAnimation = new TreeItem$TreeItemAnimation_0;
  new TreeItem$TreeItemImpl_0;
}

function $addItem(this$static, item){
  (!!item.parent_0 || !!item.tree) && (item.parent_0?$removeItem(item.parent_0, item):!!item.tree && ($removeItem(item.tree.root, item) , undefined));
  $insertItem(this$static, $getChildCount(this$static), item);
}

function $getChild(this$static, index){
  if (index < 0 || index >= $getChildCount(this$static)) {
    return null;
  }
  return dynamicCast($get_1(this$static.children, index), 7);
}

function $getChildCount(this$static){
  if (!this$static.children) {
    return 0;
  }
  return this$static.children.size;
}

function $getChildIndex(this$static, child){
  if (!this$static.children) {
    return -1;
  }
  return $indexOf_1(this$static.children, child, 0);
}

function $initChildren(this$static){
  $convertToFullNode(this$static);
  this$static.childSpanElem = $doc.createElement('div');
  this$static.element.appendChild(this$static.childSpanElem);
  this$static.childSpanElem.style['whiteSpace'] = 'nowrap';
  this$static.children = new ArrayList_0;
}

function $insertItem(this$static, beforeIndex, item){
  var beforeElem, childContainer, childCount, margin;
  (!!item.parent_0 || !!item.tree) && (item.parent_0?$removeItem(item.parent_0, item):!!item.tree && ($removeItem(item.tree.root, item) , undefined));
  childCount = $getChildCount(this$static);
  if (beforeIndex < 0 || beforeIndex > childCount) {
    throw new IndexOutOfBoundsException_0;
  }
  !this$static.children && $initChildren(this$static);
  margin = this$static.isRoot?0:16;
  item.element.style['marginLeft'] = margin + ($clinit_45() , 'px');
  childContainer = this$static.isRoot?this$static.tree.element:this$static.childSpanElem;
  if (beforeIndex == childCount) {
    childContainer.appendChild(item.element);
  }
   else {
    beforeElem = $getChild(this$static, beforeIndex).element;
    childContainer.insertBefore(item.element, beforeElem);
  }
  item.parent_0 = this$static.isRoot?null:this$static;
  $add_6(this$static.children, beforeIndex, item);
  $setTree(item, this$static.tree);
  !this$static.isRoot && this$static.children.size == 1 && $updateState(this$static, false, false);
}

function $removeItem(this$static, item){
  var oldTree;
  if (!this$static.children || $indexOf_1(this$static.children, item, 0) == -1) {
    return;
  }
  oldTree = this$static.tree;
  $setTree(item, null);
  this$static.isRoot?oldTree.element.removeChild(item.element):this$static.childSpanElem.removeChild(item.element);
  item.parent_0 = null;
  $remove_11(this$static.children, item);
  !this$static.isRoot && this$static.children.size == 0 && $updateState(this$static, false, false);
}

function $removeItems(this$static){
  while ($getChildCount(this$static) > 0) {
    $removeItem(this$static, $getChild(this$static, 0));
  }
}

function $setSelected(this$static, selected){
  if (this$static.selected == selected) {
    return;
  }
  this$static.selected = selected;
  setStyleName(this$static.contentElem, 'gwt-TreeItem-selected', selected);
}

function $setState(this$static, open_0){
  if (open_0 && $getChildCount(this$static) == 0) {
    return;
  }
  if (this$static.open_0 != open_0) {
    this$static.open_0 = open_0;
    $updateState(this$static, true, true);
    !!this$static.tree && $fireStateChanged(this$static.tree, open_0);
  }
}

function $setText(this$static, text){
  this$static.contentElem.innerHTML = '';
  this$static.contentElem.textContent = text || '';
}

function $setTree(this$static, newTree){
  var i, n;
  if (this$static.tree == newTree) {
    return;
  }
  !!this$static.tree && this$static.tree.curSelection == this$static && $setSelectedItem(this$static.tree, null);
  this$static.tree = newTree;
  for (i = 0 , n = $getChildCount(this$static); i < n; ++i) {
    $setTree(dynamicCast($get_1(this$static.children, i), 7), newTree);
  }
  $updateState(this$static, false, true);
}

function $updateState(this$static, animate, updateTreeSelection){
  if (!this$static.tree || !this$static.tree.attached) {
    return;
  }
  if ($getChildCount(this$static) == 0) {
    !!this$static.childSpanElem && (this$static.childSpanElem.style.display = 'none' , undefined);
    $showLeafImage(this$static.tree, this$static);
    return;
  }
  animate && !!this$static.tree && this$static.tree.attached?$setItemState(itemAnimation, this$static, this$static.tree.isAnimationEnabled):$setItemState(itemAnimation, this$static, false);
  this$static.open_0?$showOpenImage(this$static.tree, this$static):$showClosedImage(this$static.tree, this$static);
  updateTreeSelection && $maybeUpdateSelection(this$static.tree, this$static, this$static.open_0);
}

function $updateStateRecursive(this$static){
  $updateStateRecursiveHelper(this$static);
  $maybeUpdateSelection(this$static.tree, this$static, this$static.open_0);
}

function $updateStateRecursiveHelper(this$static){
  var i, n;
  $updateState(this$static, false, false);
  for (i = 0 , n = $getChildCount(this$static); i < n; ++i) {
    $updateStateRecursiveHelper(dynamicCast($get_1(this$static.children, i), 7));
  }
}

function TreeItem_0(){
  $clinit_1();
  TreeItem_2.call(this, false);
}

function TreeItem_1(html){
  $clinit_1();
  TreeItem_2.call(this, false);
  this.contentElem.innerHTML = '';
  this.contentElem.innerHTML = html || '';
}

function TreeItem_2(isRoot){
  $clinit_1();
  var elem;
  this.isRoot = isRoot;
  elem = BASE_BARE_ELEM.cloneNode(true);
  this.element = elem;
  this.contentElem = $getFirstChildElement(elem);
  this.contentElem.setAttribute('id', $createUniqueId($doc));
  isRoot && $initChildren(this);
}

function TreeItem(){
}

_ = TreeItem_2.prototype = TreeItem_1.prototype = TreeItem_0.prototype = TreeItem.prototype = new UIObject;
_.getClass$ = function getClass_9(){
  return Lcom_google_gwt_user_client_ui_TreeItem_2_classLit;
}
;
_.castableTypeMap$ = {7:1, 28:1};
_.childSpanElem = null;
_.children = null;
_.contentElem = null;
_.imageHolder = null;
_.isRoot = false;
_.open_0 = false;
_.parent_0 = null;
_.selected = false;
_.tree = null;
var BASE_BARE_ELEM = null, BASE_INTERNAL_ELEM = null, itemAnimation;
function UniqueTreeItem_0(n){
  $clinit_1();
  TreeItem_1.call(this, n);
  this.name_0 = n;
}

function UniqueTreeItem(){
}

_ = UniqueTreeItem_0.prototype = UniqueTreeItem.prototype = new TreeItem;
_.equals$ = function equals_0(obj){
  var other;
  if (this === obj)
    return true;
  if (obj == null)
    return false;
  if (Lcom_dnb_webmash_playmaker_client_UniqueTreeItem_2_classLit != getClass__devirtual$(obj))
    return false;
  other = dynamicCast(obj, 4);
  if (this.name_0 == null) {
    if (other.name_0 != null)
      return false;
  }
   else if (!$equals_1(this.name_0, other.name_0))
    return false;
  return true;
}
;
_.getClass$ = function getClass_10(){
  return Lcom_dnb_webmash_playmaker_client_UniqueTreeItem_2_classLit;
}
;
_.hashCode$ = function hashCode_1(){
  var result;
  result = 31 + (this.name_0 == null?0:getHashCode_0(this.name_0));
  return result;
}
;
_.castableTypeMap$ = {4:1, 7:1, 28:1};
_.name_0 = null;
function $clinit_2(){
  $clinit_2 = nullMethod;
  SERIALIZER_0 = new WebPlaylistService_TypeSerializer_0;
}

function $requestAllPlayTypes(this$static, asyncCallback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestAllPlayTypes', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestAllPlayTypes'));
    append(streamWriter.encodeBuffer, '0');
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestAllPlayTypes', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestAllPlayTypes', statsContext, payload, asyncCallback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 2))
      throw $e0;
  }
}

function $requestCreateNewMedia(this$static, nT, asyncCallback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestCreateNewMedia', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestCreateNewMedia'));
    append(streamWriter.encodeBuffer, '1');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.shared.MediaType/429027121'));
    $writeObject(streamWriter, nT);
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestCreateNewMedia', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , BOOLEAN), 'WebPlaylistService_Proxy.requestCreateNewMedia', statsContext, payload, asyncCallback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      $setTextOrHtml(asyncCallback.this$0.errorLabel_1.directionalTextHelper, 'Failed to create new media', false);
    }
     else 
      throw $e0;
  }
}

function $requestDoc(this$static, reqURL, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestDoc', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestDoc'));
    append(streamWriter.encodeBuffer, '1');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, reqURL));
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestDoc', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestDoc', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 2))
      throw $e0;
  }
}

--></script>
<script><!--
function $requestLoadCurUserPls(this$static, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestLoadCurUserPls', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestLoadCurUserPls'));
    append(streamWriter.encodeBuffer, '0');
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestLoadCurUserPls', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestLoadCurUserPls', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 2))
      throw $e0;
  }
}

function $requestLoadGlobalPls(this$static, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestLoadGlobalPls', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestLoadGlobalPls'));
    append(streamWriter.encodeBuffer, '0');
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestLoadGlobalPls', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestLoadGlobalPls', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 2))
      throw $e0;
  }
}

function $requestLoadPls(this$static, request, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestLoadPls', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestLoadPls'));
    append(streamWriter.encodeBuffer, '1');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.util.ArrayList/4159755760'));
    $writeObject(streamWriter, request);
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestLoadPls', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestLoadPls', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      $setTextOrHtml(callback.this$0.errorLabel_1.directionalTextHelper, 'There was an error on the server... please try again later.', false);
    }
     else 
      throw $e0;
  }
}

function $requestPlaylist(this$static, input, levels, mediaOnly, requestID, docText, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestPlaylist', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestPlaylist'));
    append(streamWriter.encodeBuffer, '6');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'I'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.Boolean/476441737'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.google.appengine.api.datastore.Text/1130662002'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.util.ArrayList/4159755760'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, input));
    append(streamWriter.encodeBuffer, '' + levels);
    $writeObject(streamWriter, mediaOnly);
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, requestID));
    $writeObject(streamWriter, docText);
    $writeObject(streamWriter, null);
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestPlaylist', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestPlaylist', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      $onFailure(callback);
    }
     else 
      throw $e0;
  }
}

function $requestSaveUserPls(this$static, toSave, ownersLogin, asyncCallback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestSaveUserPls', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'requestSaveUserPls'));
    append(streamWriter.encodeBuffer, '2');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.util.LinkedHashSet/1826081506'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.shared.LoginInfo/1393240290'));
    $writeObject(streamWriter, toSave);
    $writeObject(streamWriter, ownersLogin);
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.requestSaveUserPls', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.requestSaveUserPls', statsContext, payload, asyncCallback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      $setTextOrHtml(asyncCallback.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
    }
     else 
      throw $e0;
  }
}

function $resumeRecursion(this$static, empty, mediaOnly, requestID, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.resumeRecursion', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'resumeRecursion'));
    append(streamWriter.encodeBuffer, '5');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.shared.PlaylistItem/3628974443'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.Boolean/476441737'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.google.appengine.api.datastore.Text/1130662002'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.util.ArrayList/4159755760'));
    $writeObject(streamWriter, empty);
    $writeObject(streamWriter, mediaOnly);
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, requestID));
    $writeObject(streamWriter, null);
    $writeObject(streamWriter, null);
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.resumeRecursion', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.resumeRecursion', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      $onFailure_0(callback);
    }
     else 
      throw $e0;
  }
}

function $storeIfNotAlready(this$static, plsToStore, owner, callback){
  var $e0, payload, statsContext, streamWriter;
  statsContext = new RpcStatsContext_0;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.storeIfNotAlready', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.dnb.webmash.playmaker.client.WebPlaylistService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'storeIfNotAlready'));
    append(streamWriter.encodeBuffer, '2');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.util.ArrayList/4159755760'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    $writeObject(streamWriter, plsToStore);
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, owner));
    payload = $toString_1(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:statsContext.requestId, method:'WebPlaylistService_Proxy.storeIfNotAlready', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_62() , OBJECT), 'WebPlaylistService_Proxy.storeIfNotAlready', statsContext, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      $setTextOrHtml(callback.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
    }
     else 
      throw $e0;
  }
}

function WebPlaylistService_Proxy_0(){
  $clinit_2();
  RemoteServiceProxy_0.call(this, $moduleBase, 'webplaylist', '9796CD6DD7DF0503B3B4500CEA87A910', SERIALIZER_0);
}

function WebPlaylistService_Proxy(){
}

_ = WebPlaylistService_Proxy_0.prototype = WebPlaylistService_Proxy.prototype = new RemoteServiceProxy;
_.getClass$ = function getClass_11(){
  return Lcom_dnb_webmash_playmaker_client_WebPlaylistService_1Proxy_2_classLit;
}
;
_.castableTypeMap$ = {};
var SERIALIZER_0;
function $clinit_3(){
  $clinit_3 = nullMethod;
  methodMapNative_1 = loadMethodsNative();
  signatureMapNative_1 = loadSignaturesNative();
}

function WebPlaylistService_TypeSerializer_0(){
  $clinit_3();
  SerializerBase_0.call(this, methodMapNative_1, signatureMapNative_1);
}

function loadMethodsNative(){
  var result = {};
  result['com.dnb.webmash.playmaker.shared.LoginInfo/1393240290'] = [undefined, undefined, serialize];
  result['com.dnb.webmash.playmaker.shared.MediaType/429027121'] = [instantiate_0, deserialize_0, serialize_0];
  result['com.dnb.webmash.playmaker.shared.MyURL/3304736583'] = [instantiate_1, deserialize_1, serialize_1];
  result['com.dnb.webmash.playmaker.shared.Option/3203557631'] = [instantiate_2, deserialize_2];
  result['com.dnb.webmash.playmaker.shared.PlayerConfig/2361027908'] = [instantiate_3, deserialize_3];
  result['com.dnb.webmash.playmaker.shared.PlayerType/3786053878'] = [instantiate_4, deserialize_4, serialize_2];
  result['com.dnb.webmash.playmaker.shared.PlaylistItem/3628974443'] = [instantiate_5, deserialize_5, serialize_3];
  result['com.dnb.webmash.playmaker.shared.generics.Embeds/258875811'] = [instantiate_6, deserialize_6, serialize_4];
  result['com.dnb.webmash.playmaker.shared.generics.Iframes/4098986254'] = [instantiate_7, deserialize_7, serialize_5];
  result['com.dnb.webmash.playmaker.shared.generics.ImageLinks/3067794595'] = [instantiate_8, deserialize_8, serialize_6];
  result['com.dnb.webmash.playmaker.shared.generics.MimeObjects/2102854925'] = [instantiate_9, deserialize_9, serialize_7];
  result['com.dnb.webmash.playmaker.shared.generics.Objects/720593715'] = [instantiate_10, deserialize_10, serialize_8];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Archive/1041247000'] = [instantiate_11, deserialize_11, serialize_9];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Bitsontherun/2084806422'] = [instantiate_12, deserialize_12, serialize_10];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Bliptv/2821194720'] = [instantiate_13, deserialize_13, serialize_11];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Dailymotion/3012518849'] = [instantiate_14, deserialize_14, serialize_12];
  result['com.dnb.webmash.playmaker.shared.mediatypes.EightTracks/47839650'] = [instantiate_15, deserialize_15, serialize_13];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Flickr/2286538567'] = [instantiate_16, deserialize_16, serialize_14];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Googlevideo/1064080412'] = [instantiate_17, deserialize_17, serialize_15];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Guba/1483699579'] = [instantiate_18, deserialize_18, serialize_16];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Hulu/2227473326'] = [instantiate_19, deserialize_19, serialize_17];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Livevideo/90754111'] = [instantiate_20, deserialize_20, serialize_18];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Megavideo/2797444821'] = [instantiate_21, deserialize_21, serialize_19];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Metacafe/3646703236'] = [instantiate_22, deserialize_22, serialize_20];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Myspace/3920478645'] = [instantiate_23, deserialize_23, serialize_21];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Odeo/3832691066'] = [instantiate_24, deserialize_24, serialize_22];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Podcastalley/4043512153'] = [instantiate_25, deserialize_25, serialize_23];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Podomatic/1572972735'] = [instantiate_26, deserialize_26, serialize_24];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Revver/2796751312'] = [instantiate_27, deserialize_27, serialize_25];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Sapo/1768840614'] = [instantiate_28, deserialize_28, serialize_26];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Sevenload/3675073199'] = [instantiate_29, deserialize_29, serialize_27];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Smugmug/1752726363'] = [instantiate_30, deserialize_30, serialize_28];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Soundcloud/2739635372'] = [instantiate_31, deserialize_31, serialize_29];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Spike/1921125841'] = [instantiate_32, deserialize_32, serialize_30];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Tagtele/1156944075'] = [instantiate_33, deserialize_33, serialize_31];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Teachertube/3674873394'] = [instantiate_34, deserialize_34, serialize_32];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Ted/1343827033'] = [instantiate_35, deserialize_35, serialize_33];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Tudou/754285311'] = [instantiate_36, deserialize_36, serialize_34];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Twistage/3246791194'] = [instantiate_37, deserialize_37, serialize_35];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Ustream/1688939786'] = [instantiate_38, deserialize_38, serialize_36];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Viddler/1538329163'] = [instantiate_39, deserialize_39, serialize_37];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Videojug/3503085713'] = [instantiate_40, deserialize_40, serialize_38];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Vimeo/3597876916'] = [instantiate_41, deserialize_41, serialize_39];
  result['com.dnb.webmash.playmaker.shared.mediatypes.YouTube/2310295332'] = [instantiate_42, deserialize_42, serialize_40];
  result['com.dnb.webmash.playmaker.shared.mediatypes.Youku/532608656'] = [instantiate_43, deserialize_43, serialize_41];
  result['com.dnb.webmash.playmaker.shared.playerconfigs.FlashSettings/2977813003'] = [instantiate_44, deserialize_44];
  result['com.google.appengine.api.datastore.Text/1130662002'] = [instantiate_45, deserialize_45, serialize_42];
  result['com.google.gwt.i18n.client.impl.DateRecord/3220471373'] = [instantiate_46, deserialize_46, serialize_43];
  result['com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533'] = [instantiate_47, deserialize_47, serialize_44];
  result['com.google.gwt.user.client.rpc.RpcTokenException/2345075298'] = [instantiate_48, deserialize_48];
  result['com.google.gwt.user.client.rpc.XsrfToken/4254043109'] = [undefined, undefined, serialize_45];
  result['java.lang.Boolean/476441737'] = [instantiate_49, deserialize_49, serialize_46];
  result['java.lang.IllegalArgumentException/1755012560'] = [instantiate_50, deserialize_50];
  result['java.lang.Integer/3438268394'] = [instantiate_51, deserialize_51, serialize_47];
  result['java.lang.NumberFormatException/3305228476'] = [instantiate_52, deserialize_52];
  result['java.lang.String/2004016611'] = [instantiate_53, deserialize_53, serialize_48];
  result['java.sql.Date/730999118'] = [instantiate_54, deserialize_54, serialize_49];
  result['java.sql.Time/1816797103'] = [instantiate_55, deserialize_55, serialize_50];
  result['java.sql.Timestamp/3040052672'] = [instantiate_56, deserialize_56, serialize_51];
  result['java.util.ArrayList/4159755760'] = [instantiate_57, deserialize_57, serialize_52];
  result['java.util.Date/3385151746'] = [instantiate_58, deserialize_59, serialize_54];
  result['java.util.LinkedHashSet/1826081506'] = [instantiate_59, deserialize_60, serialize_55];
  return result;
}

function loadSignaturesNative(){
  var result = [];
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_LoginInfo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.LoginInfo/1393240290';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_MediaType_2_classLit)] = 'com.dnb.webmash.playmaker.shared.MediaType/429027121';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_MyURL_2_classLit)] = 'com.dnb.webmash.playmaker.shared.MyURL/3304736583';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_Option_2_classLit)] = 'com.dnb.webmash.playmaker.shared.Option/3203557631';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_PlayerConfig_2_classLit)] = 'com.dnb.webmash.playmaker.shared.PlayerConfig/2361027908';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_PlayerType_2_classLit)] = 'com.dnb.webmash.playmaker.shared.PlayerType/3786053878';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_PlaylistItem_2_classLit)] = 'com.dnb.webmash.playmaker.shared.PlaylistItem/3628974443';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_generics_Embeds_2_classLit)] = 'com.dnb.webmash.playmaker.shared.generics.Embeds/258875811';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_generics_Iframes_2_classLit)] = 'com.dnb.webmash.playmaker.shared.generics.Iframes/4098986254';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_generics_ImageLinks_2_classLit)] = 'com.dnb.webmash.playmaker.shared.generics.ImageLinks/3067794595';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_generics_MimeObjects_2_classLit)] = 'com.dnb.webmash.playmaker.shared.generics.MimeObjects/2102854925';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_generics_Objects_2_classLit)] = 'com.dnb.webmash.playmaker.shared.generics.Objects/720593715';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Archive_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Archive/1041247000';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Bitsontherun_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Bitsontherun/2084806422';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Bliptv_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Bliptv/2821194720';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Dailymotion_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Dailymotion/3012518849';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_EightTracks_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.EightTracks/47839650';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Flickr_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Flickr/2286538567';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Googlevideo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Googlevideo/1064080412';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Guba_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Guba/1483699579';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Hulu_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Hulu/2227473326';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Livevideo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Livevideo/90754111';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Megavideo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Megavideo/2797444821';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Metacafe_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Metacafe/3646703236';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Myspace_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Myspace/3920478645';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Odeo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Odeo/3832691066';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Podcastalley_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Podcastalley/4043512153';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Podomatic_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Podomatic/1572972735';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Revver_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Revver/2796751312';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Sapo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Sapo/1768840614';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Sevenload_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Sevenload/3675073199';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Smugmug_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Smugmug/1752726363';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Soundcloud_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Soundcloud/2739635372';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Spike_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Spike/1921125841';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Tagtele_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Tagtele/1156944075';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Teachertube_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Teachertube/3674873394';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Ted_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Ted/1343827033';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Tudou_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Tudou/754285311';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Twistage_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Twistage/3246791194';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Ustream_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Ustream/1688939786';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Viddler_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Viddler/1538329163';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Videojug_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Videojug/3503085713';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Vimeo_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Vimeo/3597876916';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_YouTube_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.YouTube/2310295332';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_mediatypes_Youku_2_classLit)] = 'com.dnb.webmash.playmaker.shared.mediatypes.Youku/532608656';
  result[getHashCode(Lcom_dnb_webmash_playmaker_shared_playerconfigs_FlashSettings_2_classLit)] = 'com.dnb.webmash.playmaker.shared.playerconfigs.FlashSettings/2977813003';
  result[getHashCode(Lcom_google_appengine_api_datastore_Text_2_classLit)] = 'com.google.appengine.api.datastore.Text/1130662002';
  result[getHashCode(Lcom_google_gwt_i18n_client_impl_DateRecord_2_classLit)] = 'com.google.gwt.i18n.client.impl.DateRecord/3220471373';
  result[getHashCode(Lcom_google_gwt_user_client_rpc_IncompatibleRemoteServiceException_2_classLit)] = 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533';
  result[getHashCode(Lcom_google_gwt_user_client_rpc_RpcTokenException_2_classLit)] = 'com.google.gwt.user.client.rpc.RpcTokenException/2345075298';
  result[getHashCode(Lcom_google_gwt_user_client_rpc_XsrfToken_2_classLit)] = 'com.google.gwt.user.client.rpc.XsrfToken/4254043109';
  result[getHashCode(Ljava_lang_Boolean_2_classLit)] = 'java.lang.Boolean/476441737';
  result[getHashCode(Ljava_lang_IllegalArgumentException_2_classLit)] = 'java.lang.IllegalArgumentException/1755012560';
  result[getHashCode(Ljava_lang_Integer_2_classLit)] = 'java.lang.Integer/3438268394';
  result[getHashCode(Ljava_lang_NumberFormatException_2_classLit)] = 'java.lang.NumberFormatException/3305228476';
  result[getHashCode(Ljava_lang_String_2_classLit)] = 'java.lang.String/2004016611';
  result[getHashCode(Ljava_sql_Date_2_classLit)] = 'java.sql.Date/730999118';
  result[getHashCode(Ljava_sql_Time_2_classLit)] = 'java.sql.Time/1816797103';
  result[getHashCode(Ljava_sql_Timestamp_2_classLit)] = 'java.sql.Timestamp/3040052672';
  result[getHashCode(Ljava_util_ArrayList_2_classLit)] = 'java.util.ArrayList/4159755760';
  result[getHashCode(Ljava_util_Date_2_classLit)] = 'java.util.Date/3385151746';
  result[getHashCode(Ljava_util_LinkedHashSet_2_classLit)] = 'java.util.LinkedHashSet/1826081506';
  return result;
}

function WebPlaylistService_TypeSerializer(){
}

_ = WebPlaylistService_TypeSerializer_0.prototype = WebPlaylistService_TypeSerializer.prototype = new SerializerBase;
_.getClass$ = function getClass_12(){
  return Lcom_dnb_webmash_playmaker_client_WebPlaylistService_1TypeSerializer_2_classLit;
}
;
_.castableTypeMap$ = {};
var methodMapNative_1 = null, signatureMapNative_1 = null;
function $addDomHandler(this$static, handler, type){
  this$static.sinkEvents($eventGetTypeInt(type.name_0));
  return new LegacyHandlerWrapper_0($doAdd((!this$static.handlerManager?(this$static.handlerManager = new HandlerManager_0(this$static)):this$static.handlerManager).eventBus, type, handler));
}

function $addHandler(this$static, handler, type){
  return new LegacyHandlerWrapper_0($doAdd((!this$static.handlerManager?(this$static.handlerManager = new HandlerManager_0(this$static)):this$static.handlerManager).eventBus, type, handler));
}

function $fireEvent(this$static, event_0){
  !!this$static.handlerManager && $fireEvent_0(this$static.handlerManager, event_0);
}

function $onAttach(this$static){
  var bitsToAdd;
  if (this$static.isAttached()) {
    throw new IllegalStateException_1("Should only call onAttach when the widget is detached from the browser's document");
  }
  this$static.attached = true;
  this$static.element.__listener = this$static;
  bitsToAdd = this$static.eventsToSink;
  this$static.eventsToSink = -1;
  bitsToAdd > 0 && this$static.sinkEvents(bitsToAdd);
  this$static.doAttachChildren();
  this$static.onLoad();
}

--></script>
<script><!--
function $onBrowserEvent(this$static, event_0){
  var related;
  switch ($eventGetTypeInt(event_0.type)) {
    case 16:
    case 32:
      related = $eventGetRelatedTarget(event_0);
      if (!!related && $isOrHasChild(this$static.element, related)) {
        return;
      }

  }
  fireNativeEvent(event_0, this$static, this$static.element);
}

function $onDetach(this$static){
  if (!this$static.isAttached()) {
    throw new IllegalStateException_1("Should only call onDetach when the widget is attached to the browser's document");
  }
  try {
    this$static.onUnload();
  }
   finally {
    try {
      this$static.doDetachChildren();
    }
     finally {
      this$static.element.__listener = null;
      this$static.attached = false;
    }
  }
}

function $removeFromParent(this$static){
  if (!this$static.parent_0) {
    ($clinit_70() , widgetsToDetach.map.containsKey(this$static)) && detachNow(this$static);
  }
   else if (instanceOf(this$static.parent_0, 77)) {
    dynamicCast(this$static.parent_0, 77).remove(this$static);
  }
   else if (this$static.parent_0) {
    throw new IllegalStateException_1("This widget's parent does not implement HasWidgets");
  }
}

function $replaceElement(this$static, elem){
  this$static.attached && (this$static.element.__listener = null , undefined);
  !!this$static.element && $replaceNode(this$static.element, elem);
  this$static.element = elem;
  this$static.attached && (this$static.element.__listener = this$static , undefined);
}

function $setParent(this$static, parent_0){
  var oldParent;
  oldParent = this$static.parent_0;
  if (!parent_0) {
    try {
      !!oldParent && oldParent.isAttached() && this$static.onDetach();
    }
     finally {
      this$static.parent_0 = null;
    }
  }
   else {
    if (oldParent) {
      throw new IllegalStateException_1('Cannot set a new parent without first clearing the old parent');
    }
    this$static.parent_0 = parent_0;
    parent_0.isAttached() && this$static.onAttach();
  }
}

function $sinkEvents(this$static, eventBitsToAdd){
  this$static.eventsToSink == -1?$sinkEvents_0(this$static.element, eventBitsToAdd | (this$static.element.__eventBits || 0)):(this$static.eventsToSink |= eventBitsToAdd);
}

function Widget(){
}

_ = Widget.prototype = new UIObject;
_.doAttachChildren = function doAttachChildren(){
}
;
_.doDetachChildren = function doDetachChildren(){
}
;
_.fireEvent = function fireEvent(event_0){
  !!this.handlerManager && $fireEvent_0(this.handlerManager, event_0);
}
;
_.getClass$ = function getClass_13(){
  return Lcom_google_gwt_user_client_ui_Widget_2_classLit;
}
;
_.isAttached = function isAttached(){
  return this.attached;
}
;
_.onAttach = function onAttach(){
  $onAttach(this);
}
;
_.onBrowserEvent = function onBrowserEvent(event_0){
  $onBrowserEvent(this, event_0);
}
;
_.onDetach = function onDetach(){
  $onDetach(this);
}
;
_.onLoad = function onLoad(){
}
;
_.onUnload = function onUnload(){
}
;
_.sinkEvents = function sinkEvents(eventBitsToAdd){
  this.eventsToSink == -1?$sinkEvents_0(this.element, eventBitsToAdd | (this.element.__eventBits || 0)):(this.eventsToSink |= eventBitsToAdd);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.attached = false;
_.eventsToSink = 0;
_.handlerManager = null;
_.layoutData = null;
_.parent_0 = null;
function $embedItem(this$static, mediaItem){
  var paramElement;
  if (mediaItem) {
    this$static.mediaIt = mediaItem;
    if (this$static.mediaIt.playerType == this$static.myType) {
      paramElement = $doc.createElement('param');
      paramElement.setAttribute('name', 'media');
      paramElement.setAttribute('value', $getFullURL(this$static.mediaIt));
      this$static.element.appendChild(paramElement);
      this$static.embed();
      this$static.myElement.setAttribute('width', this$static.width_0);
      this$static.myElement.setAttribute('height', this$static.height_0);
    }
  }
}

function MediaPlayer(){
}

_ = MediaPlayer.prototype = new Widget;
_.getClass$ = function getClass_14(){
  return Lcom_dnb_webmash_playmaker_client_mediaplayer_MediaPlayer_2_classLit;
}
;
_.setHeight_0 = function setHeight_0(height){
  this.height_0 = height;
  this.element.style['height'] = height;
}
;
_.setWidth_0 = function setWidth_0(width){
  this.width_0 = width;
  this.element.style['width'] = width;
}
;
_.castableTypeMap$ = {5:1, 20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.height_0 = null;
_.mediaIt = null;
_.myElement = null;
_.myType = null;
_.width_0 = null;
function $initWidget(this$static, widget){
  if (this$static.widget) {
    throw new IllegalStateException_1('Composite.initWidget() may only be called once.');
  }
  $removeFromParent(widget);
  $setElement(this$static, widget.element);
  this$static.widget = widget;
  $setParent(widget, this$static);
}

function Composite(){
}

_ = Composite.prototype = new Widget;
_.getClass$ = function getClass_15(){
  return Lcom_google_gwt_user_client_ui_Composite_2_classLit;
}
;
_.isAttached = function isAttached_0(){
  if (this.widget) {
    return this.widget.attached;
  }
  return false;
}
;
_.onAttach = function onAttach_0(){
  if (this.eventsToSink != -1) {
    $sinkEvents(this.widget, this.eventsToSink);
    this.eventsToSink = -1;
  }
  $onAttach(this.widget);
  this.element.__listener = this;
  this.onLoad();
}
;
_.onBrowserEvent = function onBrowserEvent_0(event_0){
  $onBrowserEvent(this, event_0);
  this.widget.onBrowserEvent(event_0);
}
;
_.onDetach = function onDetach_0(){
  $onDetach(this.widget);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.widget = null;
function $embedItem_0(this$static, mediaItem){
  var i, mp;
  if (mediaItem) {
    this$static.mediaIt = mediaItem;
    for (i = 0; i < this$static.players.children.size; ++i) {
      mp = dynamicCast($get(this$static.players.children, i), 5);
      if (this$static.mediaIt.playerType == mp.myType) {
        this$static.selected = i;
        $showWidget(this$static.players, i);
        $embedItem(mp, mediaItem);
        return true;
      }
    }
  }
  return false;
}

function $getCurrentPlayer(this$static){
  return this$static.selected != -1?dynamicCast($get(this$static.players.children, this$static.selected), 5):null;
}

function $setHeight(this$static, height){
  var i, mp;
  this$static.element.style['height'] = height;
  for (i = 0; i < this$static.players.children.size; ++i) {
    mp = dynamicCast($get(this$static.players.children, i), 5);
    mp.height_0 = height;
    mp.element.style['height'] = height;
  }
}

function $setSize_0(this$static, width, height){
  $setWidth(this$static, width);
  $setHeight(this$static, height);
  $setWidth(this$static, width);
  $setHeight(this$static, height);
}

function $setWidth(this$static, width){
  var i, mp;
  this$static.element.style['width'] = width;
  for (i = 0; i < this$static.players.children.size; ++i) {
    mp = dynamicCast($get(this$static.players.children, i), 5);
    mp.width_0 = width;
    mp.element.style['width'] = width;
  }
}

function MediaPlayersManager_0(){
  this.players = new DeckPanel_0;
  this.players.add_0(new FlashPlayer_1);
  this.players.add_0(new IFramePlayer_0);
  this.players.add_0(new FilePlayer_0);
  this.players.add_0(new EmbedPlayer_0);
  this.players.add_0(new ScriptPlayer_0);
  $initWidget(this, this.players);
}

function MediaPlayersManager(){
}

_ = MediaPlayersManager_0.prototype = MediaPlayersManager.prototype = new Composite;
_.getClass$ = function getClass_16(){
  return Lcom_dnb_webmash_playmaker_client_mediaplayer_MediaPlayersManager_2_classLit;
}
;
_.setHeight_0 = function setHeight_1(height){
  $setHeight(this, height);
}
;
_.setSize = function setSize_0(width, height){
  $setWidth(this, width);
  $setHeight(this, height);
  $setWidth(this, width);
  $setHeight(this, height);
}
;
_.setWidth_0 = function setWidth_1(width){
  $setWidth(this, width);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.mediaIt = null;
_.players = null;
_.selected = -1;
function EmbedPlayer_0(){
  this.myType = ($clinit_6() , EMBED);
  this.myElement = $doc.createElement('object');
  this.element = this.myElement;
}

function EmbedPlayer(){
}

_ = EmbedPlayer_0.prototype = EmbedPlayer.prototype = new MediaPlayer;
_.embed = function embed(){
  this.myElement.innerHTML = this.mediaIt.element.value_0 || '';
  this.element.appendChild(this.myElement);
}
;
_.getClass$ = function getClass_17(){
  return Lcom_dnb_webmash_playmaker_client_playertypes_EmbedPlayer_2_classLit;
}
;
_.castableTypeMap$ = {5:1, 20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function FilePlayer_0(){
  this.myType = ($clinit_6() , FILE);
  this.myElement = $doc.createElement('object');
  this.element = this.myElement;
}

function FilePlayer(){
}

_ = FilePlayer_0.prototype = FilePlayer.prototype = new MediaPlayer;
_.embed = function embed_0(){
  var regexp;
  (regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp.test($getFullURL(this.mediaIt))) && (this.myElement.setAttribute('data', $getFullURL(this.mediaIt)) , this.element.appendChild(this.myElement));
}
;
_.getClass$ = function getClass_18(){
  return Lcom_dnb_webmash_playmaker_client_playertypes_FilePlayer_2_classLit;
}
;
_.castableTypeMap$ = {5:1, 20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function FlashPlayer_1(){
  this.myType = ($clinit_6() , FLASH);
  this.element = $doc.createElement('object');
  this.myElement = $doc.createElement('embed');
}

function FlashPlayer_0(){
}

_ = FlashPlayer_1.prototype = FlashPlayer_0.prototype = new MediaPlayer;
_.embed = function embed_1(){
  var regexp, paramElement;
  if (regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp.test($getFullURL(this.mediaIt))) {
    this.myElement.setAttribute('src', $getFullURL(this.mediaIt));
    this.myElement.setAttribute('type', 'application/x-shockwave-flash');
    this.myElement.setAttribute('allowScriptAccess', 'always');
    this.element.appendChild(this.myElement);
    paramElement = $doc.createElement('param');
    paramElement.setAttribute('name', 'allowFullScreen');
    paramElement.setAttribute('value', 'true');
    this.element.appendChild(paramElement);
    paramElement = $doc.createElement('param');
    paramElement.setAttribute('allowScriptAccess', 'always');
    this.element.appendChild(paramElement);
  }
}
;
_.getClass$ = function getClass_19(){
  return Lcom_dnb_webmash_playmaker_client_playertypes_FlashPlayer_2_classLit;
}
;
_.castableTypeMap$ = {5:1, 20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function IFramePlayer_0(){
  this.myType = ($clinit_6() , IFRAME);
  this.myElement = $doc.createElement('iframe');
  this.element = this.myElement;
}

function IFramePlayer(){
}

_ = IFramePlayer_0.prototype = IFramePlayer.prototype = new MediaPlayer;
_.embed = function embed_2(){
  var regexp;
  (regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp.test($getFullURL(this.mediaIt))) && (this.myElement.setAttribute('src', $getFullURL(this.mediaIt)) , this.myElement.setAttribute('frameborder', '0') , this.myElement.setAttribute('allowScriptAccess', 'always') , this.element.appendChild(this.myElement) , undefined);
}
;
_.getClass$ = function getClass_20(){
  return Lcom_dnb_webmash_playmaker_client_playertypes_IFramePlayer_2_classLit;
}
;
_.castableTypeMap$ = {5:1, 20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function ScriptPlayer_0(){
  this.myType = ($clinit_6() , SCRIPT);
  this.element = $doc.createElement('div');
  this.myElement = $doc.createElement('script');
  this.myElement.setAttribute('type', 'text/javascript');
}

function ScriptPlayer(){
}

_ = ScriptPlayer_0.prototype = ScriptPlayer.prototype = new MediaPlayer;
_.embed = function embed_3(){
  this.myElement.setAttribute('src', this.mediaIt.element.value_0);
  this.element.appendChild(this.myElement);
}
;
_.getClass$ = function getClass_21(){
  return Lcom_dnb_webmash_playmaker_client_playertypes_ScriptPlayer_2_classLit;
}
;
_.castableTypeMap$ = {5:1, 20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function AddMediaTab_0(){
  var addMediaVerticalPanCentre, button, embedCodeTextArea, horizontalPanel, tab5_addmediapanel, testPlayer, td;
  tab5_addmediapanel = new DockLayoutPanel_0(($clinit_45() , EM));
  testPlayer = new MediaPlayersManager_0;
  $setWidth(testPlayer, '100%');
  $setHeight(testPlayer, '100%');
  $setWidth(testPlayer, '100%');
  $setHeight(testPlayer, '100%');
  embedCodeTextArea = new RichTextArea_0;
  embedCodeTextArea.element['className'] = 'gwt-EmbedCodeRichTextArea';
  embedCodeTextArea.element.style['width'] = '75%';
  embedCodeTextArea.element.style['height'] = '100%';
  horizontalPanel = new HorizontalPanel_0;
  $insert_1(tab5_addmediapanel, horizontalPanel, ($clinit_65() , NORTH), 2);
  button = new Button_0('Test');
  td = $createAlignedTd(horizontalPanel);
  horizontalPanel.tableRow.appendChild(td);
  $removeFromParent(button);
  $add_4(horizontalPanel.children, button);
  td.appendChild(button.element);
  $setParent(button, horizontalPanel);
  $addDomHandler(button, new AddMediaTab$1_0(embedCodeTextArea, testPlayer), ($clinit_47() , $clinit_47() , TYPE_0));
  addMediaVerticalPanCentre = new VerticalPanel_0;
  $insert_1(tab5_addmediapanel, addMediaVerticalPanCentre, CENTER, 0);
  addMediaVerticalPanCentre.element.style['width'] = '100%';
  addMediaVerticalPanCentre.element.style['height'] = '100%';
  $add_3(addMediaVerticalPanCentre, embedCodeTextArea);
  $add_3(addMediaVerticalPanCentre, testPlayer);
  $initWidget(this, tab5_addmediapanel);
}

function AddMediaTab(){
}

_ = AddMediaTab_0.prototype = AddMediaTab.prototype = new Composite;
_.getClass$ = function getClass_22(){
  return Lcom_dnb_webmash_playmaker_client_ui_AddMediaTab_2_classLit;
}
;
_.setHeight_0 = function setHeight_2(height){
  this.element.style['height'] = height;
}
;
_.setWidth_0 = function setWidth_2(width){
  this.element.style['width'] = width;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function AddMediaTab$1_0(val$embedCodeTextArea, val$testPlayer){
  this.val$embedCodeTextArea = val$embedCodeTextArea;
  this.val$testPlayer = val$testPlayer;
}

function AddMediaTab$1(){
}

_ = AddMediaTab$1_0.prototype = AddMediaTab$1.prototype = new Object_0;
_.getClass$ = function getClass_23(){
  return Lcom_dnb_webmash_playmaker_client_ui_AddMediaTab$1_2_classLit;
}
;
_.onClick = function onClick(event_0){
  var f, txt;
  txt = $getText(this.val$embedCodeTextArea.impl);
  f = new PlaylistItem_1;
  f.element = new Text_1(txt);
  f.playerType = ($clinit_6() , EMBED);
  f.isPlayable = true;
  $embedItem_0(this.val$testPlayer, f);
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.val$embedCodeTextArea = null;
_.val$testPlayer = null;
function $clinit_4(){
  $clinit_4 = nullMethod;
  webPlaylistService = new WebPlaylistService_Proxy_0;
}

function $addPlaylist(this$static, vals, tree){
  var addedSomething, i, it, parent_0;
  addedSomething = ($clinit_77() , $clinit_77() , FALSE);
  for (i = 0; i < vals.size; ++i) {
    it = dynamicCast((checkIndex(i, vals.size) , vals.array[i]), 6);
    this$static.requestedURLS.map.containsKey(it.myURL) && ($removeItem(tree.root, dynamicCast($get_2(this$static.requestedURLS, it.myURL), 7)) , undefined);
    parent_0 = new TreeItem_0;
    $setText(parent_0, it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null);
    $addItem(tree.root, parent_0);
    $put_0(this$static.playlistItems, parent_0, it);
    !!it.myURL && $put_0(this$static.requestedURLS, it.myURL, parent_0);
    if ($hasChildren(it)) {
      addedSomething = TRUE;
      $addPlaylistNode(this$static, (!it.children && (it.children = new LinkedHashSet_0) , it.children), parent_0);
    }
     else {
      $removeItem(tree.root, parent_0);
    }
  }
  return addedSomething;
}

function $addPlaylistNode(this$static, vals, branch){
  var it, iter, parent_0, ti, outerIter, entry;
  iter = (outerIter = $keySet(vals.map).val$entrySet.iterator_0() , new AbstractMap$1$1_0(outerIter));
  while (iter.val$outerIter.hasNext()) {
    it = dynamicCast((entry = dynamicCast(iter.val$outerIter.next_0(), 66) , entry.getKey()), 6);
    if ($hasChildren(it)) {
      parent_0 = new TreeItem_0;
      $setText(parent_0, it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null);
      (!!parent_0.parent_0 || !!parent_0.tree) && (parent_0.parent_0?$removeItem(parent_0.parent_0, parent_0):!!parent_0.tree && ($removeItem(parent_0.tree.root, parent_0) , undefined));
      $insertItem(branch, $getChildCount(branch), parent_0);
      $put_0(this$static.playlistItems, parent_0, it);
      $addPlaylistNode(this$static, (!it.children && (it.children = new LinkedHashSet_0) , it.children), parent_0);
    }
     else {
      ti = new UniqueTreeItem_0(it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null);
      (!!ti.parent_0 || !!ti.tree) && (ti.parent_0?$removeItem(ti.parent_0, ti):!!ti.tree && ($removeItem(ti.tree.root, ti) , undefined));
      $insertItem(branch, $getChildCount(branch), ti);
      $put_0(this$static.playlistItems, ti, it);
      it.isPlayable && $put_0(this$static.playableItems, ti, it);
    }
  }
}

function $embedPlsItem(this$static, sel){
  if (!!sel && sel.isPlayable) {
    return $embedItem_0(this$static.mpMan, sel);
  }
   else {
    $setTextOrHtml(this$static.errorLabel_1.directionalTextHelper, 'Error embedding media!', false);
  }
  return false;
}

function $getPlaylistItemFromTreeItem(this$static, sel){
  var item, nowPlaying;
  item = dynamicCast($get_2(this$static.playlistItems, sel), 6);
  if (!item) {
    nowPlaying = dynamicCast($get_2(this$static.nowPlayingItems, sel), 7);
    item = dynamicCast($get_2(this$static.playableItems, nowPlaying), 6);
  }
  return item;
}

function $requestCreateNewMediaType(this$static, nT){
  $requestCreateNewMedia(webPlaylistService, nT, new MediaTypesTab$8_0(this$static));
}

function $requestLoadMediaDB(this$static){
  var mt, mt$iterator, request, outerIter, entry;
  request = new ArrayList_0;
  for (mt$iterator = (outerIter = $keySet(this$static.typesFilter).val$entrySet.iterator_0() , new AbstractMap$1$1_0(outerIter)); mt$iterator.val$outerIter.hasNext();) {
    mt = dynamicCast((entry = dynamicCast(mt$iterator.val$outerIter.next_0(), 66) , entry.getKey()), 8);
    dynamicCast($get_2(this$static.typesFilter, mt), 9).value_0 && $add_5(request, mt.getName());
  }
  $requestLoadPls(webPlaylistService, request, new MediaTypesTab$7_0(this$static));
  $setTextOrHtml(this$static.errorLabel_1.directionalTextHelper, 'Loading Media DB for selected types...', false);
}

function $requestMediatypesListFromServer(this$static){
  $requestAllPlayTypes(webPlaylistService, new MediaTypesTab$9_0(this$static));
  $setTextOrHtml(this$static.errorLabel_1.directionalTextHelper, 'Mediatypes Query in progress...', false);
}

function MediaTypesTab_0(){
  var td, td_0, td_1;
  $clinit_4();
  var btnAddType, btnUpdate, centerHP, horizontalPanel_1, resetButton, scrollPanel, scrollPanel_1, tab1_mediaTypesDockLayoutPanel;
  this.playlistItems = new LinkedHashMap_0;
  this.nowPlayingItems = new LinkedHashMap_0;
  this.playableItems = new LinkedHashMap_0;
  this.typesFilter = new LinkedHashMap_0;
  this.requestedURLS = new LinkedHashMap_0;
  this.tree_1 = new Tree_0;
  this.errorLabel_1 = new Label_0;
  this.mediatypesVerticalPanel = new VerticalPanel_0;
  tab1_mediaTypesDockLayoutPanel = new DockLayoutPanel_0(($clinit_45() , EM));
  horizontalPanel_1 = new HorizontalPanel_0;
  horizontalPanel_1.table['cellSpacing'] = 3;
  $insert_1(tab1_mediaTypesDockLayoutPanel, horizontalPanel_1, ($clinit_65() , NORTH), 2.5);
  resetButton = new Button_0('Reset');
  resetButton.element.setAttribute('title', 'Reset the mediatypes list and select all items');
  $addDomHandler(resetButton, new MediaTypesTab$1_0(this), ($clinit_48() , $clinit_48() , TYPE_1));
  $addDomHandler(resetButton, new MediaTypesTab$2_0(this), ($clinit_47() , $clinit_47() , TYPE_0));
  resetButton.element.textContent = 'Reset';
  td = $createAlignedTd(horizontalPanel_1);
  horizontalPanel_1.tableRow.appendChild(td);
  $removeFromParent(resetButton);
  $add_4(horizontalPanel_1.children, resetButton);
  td.appendChild(resetButton.element);
  $setParent(resetButton, horizontalPanel_1);
  btnUpdate = new Button_0('Update');
  btnUpdate.element.setAttribute('title', 'Load all videos of the selected mediatypes that have ever been watched');
  $addDomHandler(btnUpdate, new MediaTypesTab$3_0(this), TYPE_1);
  $addDomHandler(btnUpdate, new MediaTypesTab$4_0(this), TYPE_0);
  td_0 = $createAlignedTd(horizontalPanel_1);
  horizontalPanel_1.tableRow.appendChild(td_0);
  $removeFromParent(btnUpdate);
  $add_4(horizontalPanel_1.children, btnUpdate);
  td_0.appendChild(btnUpdate.element);
  $setParent(btnUpdate, horizontalPanel_1);
  btnAddType = new Button_0('Add Type');
  $addDomHandler(btnAddType, new MediaTypesTab$5_0(this), TYPE_0);
  td_1 = $createAlignedTd(horizontalPanel_1);
  horizontalPanel_1.tableRow.appendChild(td_1);
  $removeFromParent(btnAddType);
  $add_4(horizontalPanel_1.children, btnAddType);
  td_1.appendChild(btnAddType.element);
  $setParent(btnAddType, horizontalPanel_1);
  $add_2(horizontalPanel_1, this.errorLabel_1);
  scrollPanel = new ScrollPanel_0;
  $insert_1(tab1_mediaTypesDockLayoutPanel, scrollPanel, WEST, 9.5);
  scrollPanel.element.style['width'] = '100%';
  scrollPanel.element.style['height'] = '100%';
  $setWidget(scrollPanel, this.mediatypesVerticalPanel);
  $setSize(this.mediatypesVerticalPanel, '100%', '100%');
  scrollPanel_1 = new ScrollPanel_0;
  centerHP = new HorizontalPanel_0;
  centerHP.element.style['width'] = '100%';
  centerHP.element.style['height'] = '100%';
  $add_2(centerHP, this.tree_1);
  $addHandler(this.tree_1, new MediaTypesTab$6_0(this), (!TYPE_9 && (TYPE_9 = new GwtEvent$Type_0) , TYPE_9));
  $setSize(this.tree_1, '100%', '100%');
  this.mpMan = new MediaPlayersManager_0;
  $add_2(centerHP, this.mpMan);
  $setSize_0(this.mpMan, '100%', '100%');
  $setWidget(scrollPanel_1, centerHP);
  $insert_1(tab1_mediaTypesDockLayoutPanel, scrollPanel_1, CENTER, 0);
  scrollPanel_1.element.style['width'] = '100%';
  scrollPanel_1.element.style['height'] = '100%';
  $initWidget(this, tab1_mediaTypesDockLayoutPanel);
}

function MediaTypesTab(){
}

_ = MediaTypesTab_0.prototype = MediaTypesTab.prototype = new Composite;
_.getClass$ = function getClass_24(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab_2_classLit;
}
;
_.onLoad = function onLoad_0(){
  $requestAllPlayTypes(webPlaylistService, new MediaTypesTab$9_0(this));
  $setTextOrHtml(this.errorLabel_1.directionalTextHelper, 'Mediatypes Query in progress...', false);
}
;
_.setHeight_0 = function setHeight_3(height){
  this.element.style['height'] = height;
}
;
_.setWidth_0 = function setWidth_3(width){
  this.element.style['width'] = width;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.mpMan = null;
var webPlaylistService;
function MediaTypesTab$1_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$1(){
}

_ = MediaTypesTab$1_0.prototype = MediaTypesTab$1.prototype = new Object_0;
_.getClass$ = function getClass_25(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$1_2_classLit;
}
;
_.onKeyUp = function onKeyUp(event_0){
  if ((event_0.nativeEvent.keyCode || 0) == 13) {
    $clear(this.this$0.mediatypesVerticalPanel);
    $requestMediatypesListFromServer(this.this$0);
  }
}
;
_.castableTypeMap$ = {51:1, 78:1};
_.this$0 = null;
function MediaTypesTab$2_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$2(){
}

_ = MediaTypesTab$2_0.prototype = MediaTypesTab$2.prototype = new Object_0;
_.getClass$ = function getClass_26(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$2_2_classLit;
}
;
_.onClick = function onClick_0(event_0){
  $clear(this.this$0.mediatypesVerticalPanel);
  $requestMediatypesListFromServer(this.this$0);
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$0 = null;
function MediaTypesTab$3_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$3(){
}

_ = MediaTypesTab$3_0.prototype = MediaTypesTab$3.prototype = new Object_0;
_.getClass$ = function getClass_27(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$3_2_classLit;
}
;
_.onKeyUp = function onKeyUp_0(event_0){
  $requestLoadMediaDB(this.this$0);
}
;
_.castableTypeMap$ = {51:1, 78:1};
_.this$0 = null;
function MediaTypesTab$4_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$4(){
}

_ = MediaTypesTab$4_0.prototype = MediaTypesTab$4.prototype = new Object_0;
_.getClass$ = function getClass_28(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$4_2_classLit;
}
;
_.onClick = function onClick_1(event_0){
  $requestLoadMediaDB(this.this$0);
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$0 = null;
function MediaTypesTab$5_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$5(){
}

_ = MediaTypesTab$5_0.prototype = MediaTypesTab$5.prototype = new Object_0;
_.getClass$ = function getClass_29(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$5_2_classLit;
}
;
_.onClick = function onClick_2(event_0){
  var popup;
  popup = new MediaTypesTab$MyPopup_0(this.this$0);
  $setPopupPositionAndShow(popup, new MediaTypesTab$5$1_0(popup));
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$0 = null;
function $setPosition(this$static, offsetWidth, offsetHeight){
  var left, top_0;
  left = ~~(($getClientWidth($doc) - offsetWidth) / 3);
  top_0 = ~~(($getClientHeight($doc) - offsetHeight) / 3);
  $setPopupPosition(this$static.val$popup, left, top_0);
}

function MediaTypesTab$5$1_0(val$popup){
  this.val$popup = val$popup;
}

function MediaTypesTab$5$1(){
}

_ = MediaTypesTab$5$1_0.prototype = MediaTypesTab$5$1.prototype = new Object_0;
_.getClass$ = function getClass_30(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$5$1_2_classLit;
}
;
_.castableTypeMap$ = {};
_.val$popup = null;
function MediaTypesTab$6_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$6(){
}

_ = MediaTypesTab$6_0.prototype = MediaTypesTab$6.prototype = new Object_0;
_.getClass$ = function getClass_31(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$6_2_classLit;
}
;
_.onSelection = function onSelection(event_0){
  var plsit, sel;
  sel = dynamicCast(event_0.selectedItem, 7);
  plsit = $getPlaylistItemFromTreeItem(this.this$0, sel);
  plsit?plsit.isPlayable && $embedPlsItem(this.this$0, plsit):($setTextOrHtml(this.this$0.errorLabel_1.directionalTextHelper, 'No PlaylistItem linked to selected TreeItem!', false) , undefined);
}
;
_.castableTypeMap$ = {62:1, 78:1};
_.this$0 = null;
function $onSuccess_0(this$static, result){
  var p, p$iterator;
  if (result) {
    $setTextOrHtml(this$static.this$0.errorLabel_1.directionalTextHelper, '', false);
    if (result.size == 0) {
      $setTextOrHtml(this$static.this$0.errorLabel_1.directionalTextHelper, 'No media has been stored for the selected mediatypes', false);
    }
     else {
      for (p$iterator = new AbstractList$IteratorImpl_0(result); p$iterator.i < p$iterator.this$0_0.size_0();) {
        p = dynamicCast($next_3(p$iterator), 6);
        $hasChildren(p) || $remove_11(result, p);
      }
      $addPlaylist(this$static.this$0, result, this$static.this$0.tree_1).value_0?($setTextOrHtml(this$static.this$0.errorLabel_1.directionalTextHelper, '', false) , undefined):($setTextOrHtml(this$static.this$0.errorLabel_1.directionalTextHelper, 'Could not find any media to add for the selected types!', false) , undefined);
    }
  }
   else {
    $setTextOrHtml(this$static.this$0.errorLabel_1.directionalTextHelper, 'No Media at URL... or Connection Failed', false);
  }
}

function MediaTypesTab$7_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$7(){
}

_ = MediaTypesTab$7_0.prototype = MediaTypesTab$7.prototype = new Object_0;
_.getClass$ = function getClass_32(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$7_2_classLit;
}
;
_.onFailure = function onFailure_0(caught){
  $setTextOrHtml(this.this$0.errorLabel_1.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}
;
_.onSuccess = function onSuccess_0(result){
  $onSuccess_0(this, dynamicCast(result, 10));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $onSuccess_1(this$static){
  $setTextOrHtml(this$static.this$0.errorLabel_1.directionalTextHelper, 'New media created!', false);
}

function MediaTypesTab$8_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$8(){
}

_ = MediaTypesTab$8_0.prototype = MediaTypesTab$8.prototype = new Object_0;
_.getClass$ = function getClass_33(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$8_2_classLit;
}
;
_.onFailure = function onFailure_1(caught){
  $setTextOrHtml(this.this$0.errorLabel_1.directionalTextHelper, 'Failed to create new media', false);
}
;
_.onSuccess = function onSuccess_1(result){
  $onSuccess_1(this, dynamicCast(result, 9));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $onSuccess_2(this$static, result){
  var checkBox, mt, mt$iterator;
  for (mt$iterator = new AbstractList$IteratorImpl_0(result); mt$iterator.i < mt$iterator.this$0_0.size_0();) {
    mt = dynamicCast($next_3(mt$iterator), 8);
    $put_0(this$static.this$0.typesFilter, mt, ($clinit_77() , $clinit_77() , TRUE));
    checkBox = new CheckBox_1(mt.getName());
    $setValue(checkBox, TRUE);
    $add_3(this$static.this$0.mediatypesVerticalPanel, checkBox);
  }
  $requestLoadMediaDB(this$static.this$0);
}

function MediaTypesTab$9_0(this$0){
  this.this$0 = this$0;
}

function MediaTypesTab$9(){
}

_ = MediaTypesTab$9_0.prototype = MediaTypesTab$9.prototype = new Object_0;
_.getClass$ = function getClass_34(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$9_2_classLit;
}
;
_.onFailure = function onFailure_2(caught){
  $setTextOrHtml(this.this$0.errorLabel_1.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}
;
--></script>
<script><!--
_.onSuccess = function onSuccess_2(result){
  $onSuccess_2(this, dynamicCast(result, 10));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $clear(this$static){
  var it;
  it = new WidgetCollection$WidgetIterator_0(this$static.children);
  while (it.index_0 < it.this$0.size - 1) {
    $next_1(it);
    $remove_8(it);
  }
}

function Panel(){
}

_ = Panel.prototype = new Widget;
_.doAttachChildren = function doAttachChildren_0(){
  tryCommand(this, ($clinit_63() , attachCommand));
}
;
_.doDetachChildren = function doDetachChildren_0(){
  tryCommand(this, ($clinit_63() , detachCommand));
}
;
_.getClass$ = function getClass_35(){
  return Lcom_google_gwt_user_client_ui_Panel_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
function $remove(this$static, w){
  if (this$static.widget != w) {
    return false;
  }
  try {
    $setParent(w, null);
  }
   finally {
    this$static.getContainerElement().removeChild(w.element);
    this$static.widget = null;
  }
  return true;
}

function $setWidget(this$static, w){
  if (w == this$static.widget) {
    return;
  }
  !!w && $removeFromParent(w);
  !!this$static.widget && $remove(this$static, this$static.widget);
  this$static.widget = w;
  if (w) {
    this$static.getContainerElement().appendChild(this$static.widget.element);
    $setParent(w, this$static);
  }
}

function SimplePanel_0(elem){
  this.element = elem;
}

function SimplePanel(){
}

_ = SimplePanel_0.prototype = SimplePanel.prototype = new Panel;
_.getClass$ = function getClass_36(){
  return Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit;
}
;
_.getContainerElement = function getContainerElement(){
  return this.element;
}
;
_.iterator_0 = function iterator(){
  return new SimplePanel$1_0(this);
}
;
_.remove = function remove_0(w){
  return $remove(this, w);
}
;
_.setWidget = function setWidget(w){
  $setWidget(this, w);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.widget = null;
function $clinit_5(){
  $clinit_5 = nullMethod;
  $clinit_76();
}

function $eventTargetsPopup(this$static, event_0){
  var target;
  target = event_0.target;
  if (is_0(target)) {
    return $isOrHasChild(this$static.element, target);
  }
  return false;
}

function $hide(this$static){
  if (!this$static.showing) {
    return;
  }
  $setState_0(this$static.resizeAnimation, false, false);
  fire_1(this$static);
}

function $maybeUpdateSize(this$static){
  var w;
  w = this$static.widget;
  if (w) {
    this$static.desiredHeight != null && w.setHeight_0(this$static.desiredHeight);
    this$static.desiredWidth != null && w.setWidth_0(this$static.desiredWidth);
  }
}

function $previewNativeEvent(this$static, event_0){
  var eventTargetsPopupOrPartner, nativeEvent, target, type;
  if (event_0.isCanceled || !this$static.previewAllNativeEvents && event_0.isConsumed) {
    this$static.modal && (event_0.isCanceled = true);
    return;
  }
  event_0.isFirstHandler && (event_0.nativeEvent , false) && (event_0.isCanceled = true);
  if (event_0.isCanceled) {
    return;
  }
  nativeEvent = event_0.nativeEvent;
  eventTargetsPopupOrPartner = $eventTargetsPopup(this$static, nativeEvent);
  eventTargetsPopupOrPartner && (event_0.isConsumed = true);
  this$static.modal && (event_0.isCanceled = true);
  type = $eventGetTypeInt(nativeEvent.type);
  switch (type) {
    case 512:
    case 256:
    case 128:
      {
        return;
      }

    case 4:
      if (sCaptureElem) {
        event_0.isConsumed = true;
        return;
      }

      if (!eventTargetsPopupOrPartner && this$static.autoHide) {
        $hide(this$static);
        return;
      }

      break;
    case 8:
    case 64:
    case 1:
    case 2:
      {
        if (sCaptureElem) {
          event_0.isConsumed = true;
          return;
        }
        break;
      }

    case 2048:
      {
        target = nativeEvent.target;
        if (this$static.modal && !eventTargetsPopupOrPartner && !!target) {
          target.blur && target != $doc.body && target.blur();
          event_0.isCanceled = true;
          return;
        }
        break;
      }

  }
}

function $setPopupPosition(this$static, left, top_0){
  var elem, style, style_0;
  this$static.leftPosition = left;
  this$static.topPosition = top_0;
  left -= (style = $wnd.getComputedStyle($doc.documentElement, '') , parseInt(style.marginLeft) + parseInt(style.borderLeftWidth));
  top_0 -= (style_0 = $wnd.getComputedStyle($doc.documentElement, '') , parseInt(style_0.marginTop) + parseInt(style_0.borderTopWidth));
  elem = this$static.element;
  elem.style['left'] = left + ($clinit_45() , 'px');
  elem.style['top'] = top_0 + 'px';
}

function $setPopupPositionAndShow(this$static, callback){
  this$static.element.style['visibility'] = 'hidden';
  this$static.element;
  $show(this$static);
  $setPosition(callback, parseInt(this$static.element['offsetWidth']) || 0, parseInt(this$static.element['offsetHeight']) || 0);
  this$static.element.style['visibility'] = 'visible';
  this$static.element;
}

function $show(this$static){
  if (this$static.showing) {
    return;
  }
   else 
    this$static.attached && $removeFromParent(this$static);
  $setState_0(this$static.resizeAnimation, true, false);
}

function $updateHandlers(this$static){
  if (this$static.nativePreviewHandlerRegistration) {
    $removeHandler(this$static.nativePreviewHandlerRegistration.real);
    this$static.nativePreviewHandlerRegistration = null;
  }
  if (this$static.historyHandlerRegistration) {
    $removeHandler(this$static.historyHandlerRegistration.real);
    this$static.historyHandlerRegistration = null;
  }
  if (this$static.showing) {
    this$static.nativePreviewHandlerRegistration = addNativePreviewHandler(new PopupPanel$3_0(this$static));
    this$static.historyHandlerRegistration = addValueChangeHandler(new PopupPanel$4_0(this$static));
  }
}

function PopupPanel(){
}

_ = PopupPanel.prototype = new SimplePanel;
_.getClass$ = function getClass_37(){
  return Lcom_google_gwt_user_client_ui_PopupPanel_2_classLit;
}
;
_.getContainerElement = function getContainerElement_0(){
  return $getContainerElement($getFirstChildElement(this.element));
}
;
_.getStyleElement = function getStyleElement_0(){
  return $getStyleElement($getFirstChildElement(this.element));
}
;
_.onUnload = function onUnload_0(){
  this.showing && $setState_0(this.resizeAnimation, false, true);
}
;
_.setHeight_0 = function setHeight_4(height){
  this.desiredHeight = height;
  $maybeUpdateSize(this);
  height.length == 0 && (this.desiredHeight = null);
}
;
_.setVisible = function setVisible_0(visible){
  this.element.style['visibility'] = visible?'visible':'hidden';
}
;
_.setWidget = function setWidget_0(w){
  $setWidget(this, w);
  $maybeUpdateSize(this);
}
;
_.setWidth_0 = function setWidth_4(width){
  this.desiredWidth = width;
  $maybeUpdateSize(this);
  width.length == 0 && (this.desiredWidth = null);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.autoHide = false;
_.autoHideOnHistoryEvents = false;
_.desiredHeight = null;
_.desiredWidth = null;
_.glass = null;
_.historyHandlerRegistration = null;
_.isGlassEnabled = false;
_.leftPosition = -1;
_.modal = false;
_.nativePreviewHandlerRegistration = null;
_.previewAllNativeEvents = false;
_.showing = false;
_.topPosition = -1;
function MediaTypesTab$MyPopup_0(mTT){
  var td, td_0;
  $clinit_5();
  var cancelButton, comboBox_1, descriptionsLabel, horizontalPanel, inputFieldsVerticalPanel, mediaIDPatsLabel, mediaIDPattsTextArea, nameLabel, nameTextBox, okButton, playerTypeLabel, sourceURLLabel, sourceURLTextBox, t, t$array, t$index, t$max, testPatLabel, testPatternTextBox;
  this.element = $doc.createElement('div');
  this.glassResizer = new PopupPanel$1_0;
  this.resizeAnimation = new PopupPanel$ResizeAnimation_0(this);
  this.element.appendChild($createElement());
  $setPopupPosition(this, 0, 0);
  $getStyleElement($getFirstChildElement(this.element))['className'] = 'gwt-PopupPanel';
  $getContainerElement($getFirstChildElement(this.element))['className'] = 'popupContent';
  this.autoHide = false;
  this.autoHideOnHistoryEvents = false;
  horizontalPanel = new HorizontalPanel_0;
  horizontalPanel.element.style['width'] = '100%';
  horizontalPanel.element.style['height'] = '100%';
  inputFieldsVerticalPanel = new VerticalPanel_0;
  inputFieldsVerticalPanel.element.style['width'] = '100%';
  inputFieldsVerticalPanel.element.style['height'] = '100%';
  nameLabel = new Label_1('Name');
  $add_3(inputFieldsVerticalPanel, nameLabel);
  nameTextBox = new TextBox_0;
  $add_3(inputFieldsVerticalPanel, nameTextBox);
  testPatLabel = new Label_1('Test Pattern');
  $add_3(inputFieldsVerticalPanel, testPatLabel);
  testPatternTextBox = new TextBox_0;
  $add_3(inputFieldsVerticalPanel, testPatternTextBox);
  mediaIDPatsLabel = new Label_1('Media ID Patterns');
  $add_3(inputFieldsVerticalPanel, mediaIDPatsLabel);
  mediaIDPattsTextArea = new TextArea_1;
  $add_3(inputFieldsVerticalPanel, mediaIDPattsTextArea);
  sourceURLLabel = new Label_1('Source URL');
  $add_3(inputFieldsVerticalPanel, sourceURLLabel);
  sourceURLTextBox = new TextBox_0;
  $add_3(inputFieldsVerticalPanel, sourceURLTextBox);
  playerTypeLabel = new Label_1('Player Type');
  $add_3(inputFieldsVerticalPanel, playerTypeLabel);
  comboBox_1 = new ListBox_0;
  $add_3(inputFieldsVerticalPanel, comboBox_1);
  for (t$array = ($clinit_6() , $clinit_6() , $VALUES) , t$index = 0 , t$max = t$array.length; t$index < t$max; ++t$index) {
    t = t$array[t$index];
    $insertItem_0(comboBox_1, t.name_0);
  }
  descriptionsLabel = new HTML_0;
  $setTextOrHtml(descriptionsLabel.directionalTextHelper, getDescription(comboBox_1.element.selectedIndex), true);
  $addDomHandler(comboBox_1, new MediaTypesTab$MyPopup$1_0(descriptionsLabel, comboBox_1), ($clinit_46() , $clinit_46() , TYPE));
  okButton = new Button_0('OK');
  $addDomHandler(okButton, new MediaTypesTab$MyPopup$2_0(this, testPatternTextBox, mediaIDPattsTextArea, sourceURLTextBox, nameTextBox, comboBox_1, mTT), ($clinit_47() , $clinit_47() , TYPE_0));
  $add_3(inputFieldsVerticalPanel, okButton);
  cancelButton = new Button_0('Cancel');
  $addDomHandler(cancelButton, new MediaTypesTab$MyPopup$3_0(this), TYPE_0);
  $add_3(inputFieldsVerticalPanel, cancelButton);
  td = $createAlignedTd(horizontalPanel);
  horizontalPanel.tableRow.appendChild(td);
  $removeFromParent(inputFieldsVerticalPanel);
  $add_4(horizontalPanel.children, inputFieldsVerticalPanel);
  td.appendChild(inputFieldsVerticalPanel.element);
  $setParent(inputFieldsVerticalPanel, horizontalPanel);
  td_0 = $createAlignedTd(horizontalPanel);
  horizontalPanel.tableRow.appendChild(td_0);
  $removeFromParent(descriptionsLabel);
  $add_4(horizontalPanel.children, descriptionsLabel);
  td_0.appendChild(descriptionsLabel.element);
  $setParent(descriptionsLabel, horizontalPanel);
  $setWidget(this, horizontalPanel);
  $maybeUpdateSize(this);
}

function MediaTypesTab$MyPopup(){
}

_ = MediaTypesTab$MyPopup_0.prototype = MediaTypesTab$MyPopup.prototype = new PopupPanel;
_.getClass$ = function getClass_38(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
function MediaTypesTab$MyPopup$1_0(val$descriptionsLabel, val$comboBox_1){
  this.val$descriptionsLabel = val$descriptionsLabel;
  this.val$comboBox_1 = val$comboBox_1;
}

function MediaTypesTab$MyPopup$1(){
}

_ = MediaTypesTab$MyPopup$1_0.prototype = MediaTypesTab$MyPopup$1.prototype = new Object_0;
_.getClass$ = function getClass_39(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup$1_2_classLit;
}
;
_.castableTypeMap$ = {48:1, 78:1};
_.val$comboBox_1 = null;
_.val$descriptionsLabel = null;
function MediaTypesTab$MyPopup$2_0(this$1, val$testPatternTextBox, val$mediaIDPattsTextArea, val$sourceURLTextBox, val$nameTextBox, val$comboBox_1, val$mTT){
  this.this$1 = this$1;
  this.val$testPatternTextBox = val$testPatternTextBox;
  this.val$mediaIDPattsTextArea = val$mediaIDPattsTextArea;
  this.val$sourceURLTextBox = val$sourceURLTextBox;
  this.val$nameTextBox = val$nameTextBox;
  this.val$comboBox_1 = val$comboBox_1;
  this.val$mTT = val$mTT;
}

function MediaTypesTab$MyPopup$2(){
}

_ = MediaTypesTab$MyPopup$2_0.prototype = MediaTypesTab$MyPopup$2.prototype = new Object_0;
_.getClass$ = function getClass_40(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup$2_2_classLit;
}
;
_.onClick = function onClick_3(event_0){
  var myNewType;
  myNewType = new MediaType_1($getPropertyString(this.val$testPatternTextBox.element, 'value'), new ArrayList_1(new Arrays$ArrayList_0($split($getPropertyString(this.val$mediaIDPattsTextArea.element, 'value'), '\n', 0))), $getPropertyString(this.val$sourceURLTextBox.element, 'value'), $getPropertyString(this.val$nameTextBox.element, 'value'), get(this.val$comboBox_1.element.selectedIndex));
  $requestCreateNewMediaType(this.val$mTT, myNewType);
  $hide(this.this$1);
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$1 = null;
_.val$comboBox_1 = null;
_.val$mTT = null;
_.val$mediaIDPattsTextArea = null;
_.val$nameTextBox = null;
_.val$sourceURLTextBox = null;
_.val$testPatternTextBox = null;
function MediaTypesTab$MyPopup$3_0(this$1){
  this.this$1 = this$1;
}

function MediaTypesTab$MyPopup$3(){
}

_ = MediaTypesTab$MyPopup$3_0.prototype = MediaTypesTab$MyPopup$3.prototype = new Object_0;
_.getClass$ = function getClass_41(){
  return Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup$3_2_classLit;
}
;
_.onClick = function onClick_4(event_0){
  $hide(this.this$1);
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$1 = null;
function $addPlaylist_0(this$static, vals, tree, myLabel){
  var addedSomething, i, it, parent_0;
  addedSomething = ($clinit_77() , $clinit_77() , FALSE);
  for (i = 0; i < vals.size; ++i) {
    it = dynamicCast((checkIndex(i, vals.size) , vals.array[i]), 6);
    this$static.requestedURLS.map.containsKey(it.myURL) && ($removeItem(tree.root, dynamicCast($get_2(this$static.requestedURLS, it.myURL), 7)) , undefined);
    parent_0 = new TreeItem_0;
    $setText(parent_0, it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null);
    $addItem(tree.root, parent_0);
    $put_0(this$static.playlistItems, parent_0, it);
    !!it.myURL && $put_0(this$static.requestedURLS, it.myURL, parent_0);
    if ($hasChildren(it)) {
      addedSomething = TRUE;
      $addPlaylistNode_0(this$static, (!it.children && (it.children = new LinkedHashSet_0) , it.children), parent_0);
    }
     else {
      $removeItem(tree.root, parent_0);
      !!myLabel && ($setTextOrHtml(myLabel.directionalTextHelper, 'No media in playlist: ' + (it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null), false) , undefined);
    }
  }
  return addedSomething;
}

function $addPlaylistNode_0(this$static, vals, branch){
  var it, iter, parent_0, ti, outerIter, entry;
  iter = (outerIter = $keySet(vals.map).val$entrySet.iterator_0() , new AbstractMap$1$1_0(outerIter));
  while (iter.val$outerIter.hasNext()) {
    it = dynamicCast((entry = dynamicCast(iter.val$outerIter.next_0(), 66) , entry.getKey()), 6);
    if ($hasChildren(it)) {
      parent_0 = new TreeItem_0;
      $setText(parent_0, it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null);
      (!!parent_0.parent_0 || !!parent_0.tree) && (parent_0.parent_0?$removeItem(parent_0.parent_0, parent_0):!!parent_0.tree && ($removeItem(parent_0.tree.root, parent_0) , undefined));
      $insertItem(branch, $getChildCount(branch), parent_0);
      $put_0(this$static.playlistItems, parent_0, it);
      $addPlaylistNode_0(this$static, (!it.children && (it.children = new LinkedHashSet_0) , it.children), parent_0);
    }
     else {
      ti = new UniqueTreeItem_0(it.name_0 != null?it.name_0:it.myURL?it.myURL.myValue:null);
      (!!ti.parent_0 || !!ti.tree) && (ti.parent_0?$removeItem(ti.parent_0, ti):!!ti.tree && ($removeItem(ti.tree.root, ti) , undefined));
      $insertItem(branch, $getChildCount(branch), ti);
      $put_0(this$static.playlistItems, ti, it);
      it.isPlayable && $put_0(this$static.playableItems, ti, it);
    }
  }
}

function $embedPlsItem_0(this$static, sel){
  if (!!sel && sel.isPlayable) {
    return $embedItem_0(this$static.mediaPlayersManager, sel);
  }
   else {
    $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Error embedding media!', false);
  }
  return false;
}

function $getPlaylistItemFromTreeItem_0(this$static, sel){
  var item, nowPlaying;
  item = dynamicCast($get_2(this$static.playlistItems, sel), 6);
  if (!item) {
    nowPlaying = dynamicCast($get_2(this$static.nowPlayingItems, sel), 7);
    item = dynamicCast($get_2(this$static.playableItems, nowPlaying), 6);
  }
  return item;
}

function $playPrevNextMedia(this$static, dir){
  var keys;
  dir > 0?this$static.index_0 < this$static.playableItems.map.size_0() - 1?++this$static.index_0:(this$static.index_0 = 0):this$static.index_0 > 0?--this$static.index_0:(this$static.index_0 = this$static.playableItems.map.size_0() - 1);
  keys = new ArrayList_1($keySet(this$static.playableItems));
  $setSelectedItem(this$static.tree, dynamicCast($get_1(keys, this$static.index_0), 7));
}

function $reRequestFurtherPlaylist(this$static, empty){
  if (this$static.comboBox.element.selectedIndex <= 0) {
    $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Nothing found, try increasing depth and re-requesting...', false);
    this$static.rereqIndex = 0;
    return;
  }
   else 
    ++this$static.rereqIndex;
  if (this$static.rereqIndex > this$static.comboBox.element.selectedIndex) {
    $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Request ended.', false);
    this$static.rereqIndex = 0;
    return;
  }
  this$static.getChanButton.element['disabled'] = !false;
  $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Entering level ' + this$static.rereqIndex + '...', false);
  !!empty && !!empty.myURL?$resumeRecursion(this$static.webPlaylistService, empty, this$static.requestMediaOnly, this$static.requestID, new WatchTab$12_0(this$static)):($setTextOrHtml(this$static.errorLabel.directionalTextHelper, "null playlist! can't rerequest!", false) , undefined);
  this$static.requestMediaOnly.value_0?($setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Requesting Playlist...', false) , undefined):($setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Requesting Sitemap...', false) , undefined);
}

function $requestLoadGlobalPlsFromServer(this$static){
  $requestLoadGlobalPls(this$static.webPlaylistService, new WatchTab$13_0(this$static));
}

function $requestLoadPlsFromServer(this$static){
  if (this$static.isLoggedIn) {
    $requestLoadCurUserPls(this$static.webPlaylistService, new WatchTab$14_0(this$static));
    this$static.loginInfo.admin && $requestLoadGlobalPls(this$static.webPlaylistService, new WatchTab$13_0(this$static));
  }
   else {
    $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Not logged in - cannot load.', false);
  }
}

function $requestPlaylistFromServer(this$static, urlToServer){
  var internalLevel, pref, regexp, regexp_0, now, uniqueTS;
  urlToServer = $trim(urlToServer);
  $setTextOrHtml(this$static.errorLabel.directionalTextHelper, '', false);
  this$static.getChanButton.element['disabled'] = !false;
  if (!(regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp.test(urlToServer))) {
    pref = 'http://' + urlToServer;
    if (regexp_0 = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp_0.test(pref)) {
      urlToServer = pref;
    }
     else {
      $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Please enter a valid MyURL', false);
      return;
    }
  }
  this$static.internalZeroRec.value_0?(internalLevel = 0):(internalLevel = 1);
  this$static.requestID = (now = new Date_1 , uniqueTS = new Timestamp_0(now.getTime_0()) , '' + (1900 + (uniqueTS.jsdate.getFullYear() - 1900)) + '-' + padTwo(1 + uniqueTS.jsdate.getMonth()) + '-' + padTwo(uniqueTS.jsdate.getDate()) + ' ' + padTwo(uniqueTS.jsdate.getHours()) + ':' + padTwo(uniqueTS.jsdate.getMinutes()) + ':' + padTwo(uniqueTS.jsdate.getSeconds()) + '.' + padNine(uniqueTS.nanos));
  $requestDoc(this$static.webPlaylistService, urlToServer, new WatchTab$10_0(this$static, urlToServer, internalLevel));
  $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Requesting Doc...', false);
}

function $requestSavePlsToServer(this$static, savePlsit){
  var item, item$iterator, notAuth, svPls, t, t$iterator, toSave, outerIter, old, old_0, outerIter_0, entry;
  if (this$static.isLoggedIn) {
    toSave = new LinkedHashSet_0;
    if (!savePlsit) {
      for (t$iterator = (outerIter = new LinkedHashMap$EntrySet$EntryIterator_0($values(this$static.requestedURLS).val$entrySet) , new AbstractMap$2$1_0(outerIter)); $hasNext_1(t$iterator.val$outerIter);) {
        t = dynamicCast($next_4(t$iterator.val$outerIter).value_0, 7);
        svPls = $getPlaylistItemFromTreeItem_0(this$static, t);
        (svPls.owner == null || svPls.owner == this$static.loginInfo.uniqueID) && (old = toSave.map.put(svPls, toSave) , old == null);
      }
    }
     else {
      old_0 = toSave.map.put(savePlsit, toSave);
    }
    notAuth = false;
    for (item$iterator = (outerIter_0 = $keySet(toSave.map).val$entrySet.iterator_0() , new AbstractMap$1$1_0(outerIter_0)); item$iterator.val$outerIter.hasNext();) {
      item = dynamicCast((entry = dynamicCast(item$iterator.val$outerIter.next_0(), 66) , entry.getKey()), 6);
      if (item.owner != null && item.owner != this$static.loginInfo.uniqueID) {
        toSave.map.remove_2(item) != null;
        notAuth = true;
      }
    }
    toSave.map.size_0() == 0?notAuth?($setTextOrHtml(this$static.errorLabel.directionalTextHelper, "Can't save this... owned by media-loop", false) , undefined):($setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Nothing to save!', false) , undefined):$requestSaveUserPls(this$static.webPlaylistService, toSave, this$static.loginInfo, new WatchTab$15_0(this$static));
  }
   else {
    $setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Not logged in - cannot save.', false);
  }
}

function $requestStoreMedias(this$static, plsToStore, name_0){
  $storeIfNotAlready(this$static.webPlaylistService, plsToStore, name_0, new WatchTab$16_0(this$static));
}

function $requestlaylist(this$static, urlToServer, internalLevel, docText){
  $requestPlaylist(this$static.webPlaylistService, urlToServer, internalLevel, this$static.requestMediaOnly, this$static.requestID, docText, new WatchTab$11_0(this$static));
  this$static.requestMediaOnly.value_0?($setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Requesting Playlist...', false) , undefined):($setTextOrHtml(this$static.errorLabel.directionalTextHelper, 'Requesting Sitemap...', false) , undefined);
}

function $setWidth_0(this$static, width){
  $setSize_0(this$static.mediaPlayersManager, '100%', '100%');
  this$static.tree.element.style['width'] = '100%';
  this$static.element.style['width'] = width;
}

function $updateAllMediaNode(this$static){
  var i, it, keys;
  $removeItems(this$static.nowPlaying);
  $clear_1(this$static.nowPlayingItems);
  keys = new ArrayList_1($keySet(this$static.playableItems));
  for (i = 0; i < keys.size; ++i) {
    it = new TreeItem_0;
    $setText(it, dynamicCast((checkIndex(i, keys.size) , keys.array[i]), 4).contentElem.textContent);
    $put_0(this$static.nowPlayingItems, it, dynamicCast((checkIndex(i, keys.size) , keys.array[i]), 7));
    $addItem(this$static.nowPlaying, it);
  }
  if (keys.size == 0) {
    this$static.nowPlaying.element.style.display = 'none';
  }
   else {
    this$static.nowPlaying.element.style.display = '';
    !$getCurrentPlayer(this$static.mediaPlayersManager) && $playPrevNextMedia(this$static, 1);
  }
}

--></script>
<script><!--
function WatchTab_0(){
  var btnLoad, btnNext, btnPrev, btnSave, commentsTA, enableInternalRec, handlNext, handlPrev, handler, i, inputControlsPanel, loginService, playerPlaylistSplitPanel, playlistPanel, requestOnlyMedia_checkBox, southHorizontalCommentsPanel, tab0_watchDockLayoutPanel, textBox, td, length_0, td_0, td_1, td_2, td_3, td_4, td_5, td_6, td_7, td_8;
  this.webPlaylistService = new WebPlaylistService_Proxy_0;
  this.playlistItems = new LinkedHashMap_0;
  this.playableItems = new LinkedHashMap_0;
  this.nowPlayingItems = new LinkedHashMap_0;
  this.requestedURLS = new LinkedHashMap_0;
  this.tree = new Tree_0;
  this.nowPlaying = new TreeItem_1('Now Playing');
  this.errorLabel = new Label_0;
  this.itemInfoLbl = new Label_0;
  this.getChanButton = new Button_0('Submit_URL');
  this.comboBox = new ListBox_0;
  this.signInLink = new Anchor_1('Sign in');
  this.signOutLink = new Anchor_1('Sign out');
  this.requestMediaOnly = ($clinit_77() , $clinit_77() , TRUE);
  this.internalZeroRec = TRUE;
  tab0_watchDockLayoutPanel = new DockLayoutPanel_0(($clinit_45() , EM));
  handlNext = new WatchTab$1NextButtonHandler_0(this);
  handlPrev = new WatchTab$1PrevButtonHandler_0(this);
  inputControlsPanel = new HorizontalPanel_0;
  inputControlsPanel.table['cellSpacing'] = 2;
  $insert_1(tab0_watchDockLayoutPanel, inputControlsPanel, ($clinit_65() , NORTH), 2.5);
  textBox = new TextBox_0;
  textBox.element.setAttribute('title', 'Enter a URL of one of your favourite sites to look for things to watch.');
  td = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td);
  $removeFromParent(textBox);
  $add_4(inputControlsPanel.children, textBox);
  td.appendChild(textBox.element);
  $setParent(textBox, inputControlsPanel);
  textBox.element.style['width'] = '300';
  textBox.element.focus();
  length_0 = $getPropertyString(textBox.element, 'value').length;
  length_0 > 0 && $setSelectionRange(textBox, length_0);
  for (i = 0; i < 21; ++i)
    $insertItem_0(this.comboBox, i + '');
  $setTitle(this.comboBox, 'Select how deep you want your search to be.');
  $add_2(inputControlsPanel, this.comboBox);
  requestOnlyMedia_checkBox = new CheckBox_0;
  requestOnlyMedia_checkBox.element.setAttribute('title', 'Request only media items. Un-check to request a full sitemap.');
  $setValue(requestOnlyMedia_checkBox, this.requestMediaOnly);
  td_0 = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td_0);
  $removeFromParent(requestOnlyMedia_checkBox);
  $add_4(inputControlsPanel.children, requestOnlyMedia_checkBox);
  td_0.appendChild(requestOnlyMedia_checkBox.element);
  $setParent(requestOnlyMedia_checkBox, inputControlsPanel);
  $addValueChangeHandler_0(requestOnlyMedia_checkBox, new WatchTab$1_0(this));
  enableInternalRec = new CheckBox_0;
  enableInternalRec.element.setAttribute('title', 'Make a quick request. Un-check to make a thorough request from the server.');
  $setValue(enableInternalRec, this.internalZeroRec);
  td_1 = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td_1);
  $removeFromParent(enableInternalRec);
  $add_4(inputControlsPanel.children, enableInternalRec);
  td_1.appendChild(enableInternalRec.element);
  $setParent(enableInternalRec, inputControlsPanel);
  $addValueChangeHandler_0(enableInternalRec, new WatchTab$2_0(this));
  $setTitle(this.getChanButton, 'The entered URL will be searched for media items.');
  $add_2(inputControlsPanel, this.getChanButton);
  this.getChanButton.element.textContent = 'Submit';
  setStyleName(this.getChanButton.getStyleElement(), 'getChannelButton', true);
  btnPrev = new Button_0('Prev');
  btnPrev.element.setAttribute('title', 'Play the previous item.');
  td_2 = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td_2);
  $removeFromParent(btnPrev);
  $add_4(inputControlsPanel.children, btnPrev);
  td_2.appendChild(btnPrev.element);
  $setParent(btnPrev, inputControlsPanel);
  btnNext = new Button_0('Next');
  btnNext.element.setAttribute('title', 'Play the next item.');
  td_3 = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td_3);
  $removeFromParent(btnNext);
  $add_4(inputControlsPanel.children, btnNext);
  td_3.appendChild(btnNext.element);
  $setParent(btnNext, inputControlsPanel);
  btnSave = new Button_0('Save');
  $addDomHandler(btnSave, new WatchTab$3_0(this), ($clinit_48() , $clinit_48() , TYPE_1));
  $addDomHandler(btnSave, new WatchTab$4_0(this), ($clinit_47() , $clinit_47() , TYPE_0));
  btnSave.element.setAttribute('title', 'Saves the selected playlist so that you can continue watching next time you log back in - Warning, overrides previous saved sessions.');
  td_4 = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td_4);
  $removeFromParent(btnSave);
  $add_4(inputControlsPanel.children, btnSave);
  td_4.appendChild(btnSave.element);
  $setParent(btnSave, inputControlsPanel);
  btnLoad = new Button_0('Load');
  btnLoad.element.setAttribute('title', 'Reload the previously saved session.');
  $addDomHandler(btnLoad, new WatchTab$5_0(this), TYPE_1);
  $addDomHandler(btnLoad, new WatchTab$6_0(this), TYPE_0);
  td_5 = $createAlignedTd(inputControlsPanel);
  inputControlsPanel.tableRow.appendChild(td_5);
  $removeFromParent(btnLoad);
  $add_4(inputControlsPanel.children, btnLoad);
  td_5.appendChild(btnLoad.element);
  $setParent(btnLoad, inputControlsPanel);
  loginService = new LoginService_Proxy_0;
  $login(loginService, getHostPageBaseURL(), new WatchTab$7_0(this, inputControlsPanel));
  handler = new WatchTab$1GetChanButtonHandler_0(this, textBox);
  $addDomHandler(btnNext, handlNext, TYPE_0);
  $addDomHandler(btnNext, handlNext, TYPE_1);
  $addDomHandler(btnPrev, handlPrev, TYPE_0);
  $addDomHandler(btnPrev, handlPrev, TYPE_1);
  $addDomHandler(this.getChanButton, handler, TYPE_0);
  $addDomHandler(textBox, handler, TYPE_1);
  southHorizontalCommentsPanel = new HorizontalPanel_0;
  $insert_1(tab0_watchDockLayoutPanel, southHorizontalCommentsPanel, SOUTH, 4);
  southHorizontalCommentsPanel.element.style['width'] = '100%';
  southHorizontalCommentsPanel.element.style['height'] = '100%';
  commentsTA = new RichTextArea_0;
  td_6 = $createAlignedTd(southHorizontalCommentsPanel);
  southHorizontalCommentsPanel.tableRow.appendChild(td_6);
  $removeFromParent(commentsTA);
  $add_4(southHorizontalCommentsPanel.children, commentsTA);
  td_6.appendChild(commentsTA.element);
  $setParent(commentsTA, southHorizontalCommentsPanel);
  commentsTA.element.style['width'] = '100%';
  playerPlaylistSplitPanel = new HorizontalSplitPanel_0;
  $insert_1(tab0_watchDockLayoutPanel, playerPlaylistSplitPanel, CENTER, 0);
  playerPlaylistSplitPanel.element.style['width'] = '100%';
  playerPlaylistSplitPanel.element.style['height'] = '100%';
  playlistPanel = new VerticalPanel_0;
  $add_3(playlistPanel, this.errorLabel);
  this.nowPlaying.element.style.display = 'none';
  this.tree.isAnimationEnabled = false;
  $add_3(playlistPanel, this.tree);
  td_7 = $getWidgetTd(playlistPanel, this.tree);
  !!td_7 && (td_7['height'] = '100%' , undefined);
  td_8 = $getWidgetTd(playlistPanel, this.tree);
  !!td_8 && (td_8['width'] = '100%' , undefined);
  $setSize(this.tree, '100%', '70%');
  $addItem(this.tree.root, this.nowPlaying);
  this.itemInfoLbl.element.style.display = 'none';
  $add_3(playlistPanel, this.itemInfoLbl);
  $setWidget_0(playerPlaylistSplitPanel, 0, playlistPanel);
  playlistPanel.element.style['width'] = '100%';
  playlistPanel.element.style['height'] = '100%';
  $addHandler(this.tree, new WatchTab$8_0(this), (!TYPE_9 && (TYPE_9 = new GwtEvent$Type_0) , TYPE_9));
  $addDomHandler(this.tree, new WatchTab$9_0(this, textBox), TYPE_1);
  this.mediaPlayersManager = new MediaPlayersManager_0;
  $setWidget_0(playerPlaylistSplitPanel, 1, this.mediaPlayersManager);
  $setSize_0(this.mediaPlayersManager, '100%', '100%');
  $initWidget(this, tab0_watchDockLayoutPanel);
}

function WatchTab(){
}

_ = WatchTab_0.prototype = WatchTab.prototype = new Composite;
_.getClass$ = function getClass_42(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab_2_classLit;
}
;
_.setHeight_0 = function setHeight_5(height){
  this.element.style['height'] = height;
}
;
_.setWidth_0 = function setWidth_5(width){
  $setWidth_0(this, width);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.index_0 = -1;
_.isLoggedIn = false;
_.loginInfo = null;
_.mediaPlayersManager = null;
_.requestID = null;
_.rereqIndex = 0;
function WatchTab$1_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$1(){
}

_ = WatchTab$1_0.prototype = WatchTab$1.prototype = new Object_0;
_.getClass$ = function getClass_43(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1_2_classLit;
}
;
_.onValueChange = function onValueChange(event_0){
  this.this$0.requestMediaOnly = dynamicCast(event_0.value_0, 9);
}
;
_.castableTypeMap$ = {63:1, 78:1};
_.this$0 = null;
function WatchTab$10_0(this$0, val$urlTS, val$internalLevel){
  this.this$0 = this$0;
  this.val$urlTS = val$urlTS;
  this.val$internalLevel = val$internalLevel;
}

function WatchTab$10(){
}

_ = WatchTab$10_0.prototype = WatchTab$10.prototype = new Object_0;
_.getClass$ = function getClass_44(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$10_2_classLit;
}
;
_.onFailure = function onFailure_3(caught){
  $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Failed to Request Doc!', false);
}
;
_.onSuccess = function onSuccess_3(result){
  $requestlaylist(this.this$0, this.val$urlTS, this.val$internalLevel, dynamicCast(result, 11));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
_.val$internalLevel = 0;
_.val$urlTS = null;
function $onFailure(this$static){
  this$static.this$0.getChanButton.element['disabled'] = !true;
  this$static.this$0.rereqIndex = 0;
  $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}

function $onSuccess_3(this$static, result){
  var addedSomething, resultHolder;
  this$static.this$0.getChanButton.element['disabled'] = !true;
  if (result) {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, '', false);
    if ($hasChildren(result)) {
      resultHolder = new ArrayList_0;
      setCheck(resultHolder.array, resultHolder.size++, result);
      addedSomething = $addPlaylist_0(this$static.this$0, resultHolder, this$static.this$0.tree, this$static.this$0.errorLabel).value_0;
      if (this$static.this$0.comboBox.element.selectedIndex > this$static.this$0.rereqIndex)
        $reRequestFurtherPlaylist(this$static.this$0, result);
      else {
        if (addedSomething) {
          this$static.this$0.rereqIndex = 0;
          this$static.this$0.playableItems.map.size_0() == 0 || $updateAllMediaNode(this$static.this$0);
          $requestStoreMedias(this$static.this$0, new ArrayList_1($values(this$static.this$0.playableItems)), result.myURL.myValue);
        }
         else {
          $reRequestFurtherPlaylist(this$static.this$0, result);
        }
      }
    }
     else 
      $reRequestFurtherPlaylist(this$static.this$0, result);
  }
   else {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'No Media at URL... or Connection Failed', false);
  }
}

function WatchTab$11_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$11(){
}

_ = WatchTab$11_0.prototype = WatchTab$11.prototype = new Object_0;
_.getClass$ = function getClass_45(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$11_2_classLit;
}
;
_.onFailure = function onFailure_4(caught){
  $onFailure(this);
}
;
_.onSuccess = function onSuccess_4(result){
  $onSuccess_3(this, dynamicCast(result, 6));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $onFailure_0(this$static){
  $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
  this$static.this$0.rereqIndex = 0;
  this$static.this$0.getChanButton.element['disabled'] = !true;
}

function $onSuccess_4(this$static, result){
  var resultHolder;
  this$static.this$0.getChanButton.element['disabled'] = !true;
  if (result) {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, '', false);
    if ($hasChildren(result)) {
      resultHolder = new ArrayList_0;
      setCheck(resultHolder.array, resultHolder.size++, result);
      $addPlaylist_0(this$static.this$0, resultHolder, this$static.this$0.tree, this$static.this$0.errorLabel);
    }
  }
  if (this$static.this$0.comboBox.element.selectedIndex > this$static.this$0.rereqIndex)
    $reRequestFurtherPlaylist(this$static.this$0, result);
  else {
    this$static.this$0.rereqIndex = 0;
    this$static.this$0.playableItems.map.size_0() == 0 || $updateAllMediaNode(this$static.this$0);
    $requestStoreMedias(this$static.this$0, new ArrayList_1($values(this$static.this$0.playableItems)), result.myURL.myValue);
  }
}

function WatchTab$12_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$12(){
}

_ = WatchTab$12_0.prototype = WatchTab$12.prototype = new Object_0;
_.getClass$ = function getClass_46(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$12_2_classLit;
}
;
_.onFailure = function onFailure_5(caught){
  $onFailure_0(this);
}
;
_.onSuccess = function onSuccess_5(result){
  $onSuccess_4(this, dynamicCast(result, 6));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $onSuccess_5(this$static, result){
  var resultHolder;
  if (!!result && $hasChildren(result)) {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, '', false);
    resultHolder = new ArrayList_0;
    setCheck(resultHolder.array, resultHolder.size++, result);
    $addPlaylist_0(this$static.this$0, resultHolder, this$static.this$0.tree, this$static.this$0.errorLabel).value_0?this$static.this$0.playableItems.map.size_0() == 0 || $updateAllMediaNode(this$static.this$0):($setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'Global Playlist Empty!', false) , undefined);
  }
   else {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'Global Playlist Empty!', false);
  }
}

function WatchTab$13_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$13(){
}

_ = WatchTab$13_0.prototype = WatchTab$13.prototype = new Object_0;
_.getClass$ = function getClass_47(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$13_2_classLit;
}
;
_.onFailure = function onFailure_6(caught){
  $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}
;
_.onSuccess = function onSuccess_6(result){
  $onSuccess_5(this, dynamicCast(result, 6));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $onSuccess_6(this$static, result){
  var resultHolder;
  if (!!result && $hasChildren(result)) {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, '', false);
    resultHolder = new ArrayList_0;
    setCheck(resultHolder.array, resultHolder.size++, result);
    $addPlaylist_0(this$static.this$0, resultHolder, this$static.this$0.tree, this$static.this$0.errorLabel).value_0?this$static.this$0.playableItems.map.size_0() == 0 || $updateAllMediaNode(this$static.this$0):($setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'No Media Loaded', false) , undefined);
  }
   else {
    $setTextOrHtml(this$static.this$0.errorLabel.directionalTextHelper, 'No Media Loaded', false);
  }
}

function WatchTab$14_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$14(){
}

_ = WatchTab$14_0.prototype = WatchTab$14.prototype = new Object_0;
_.getClass$ = function getClass_48(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$14_2_classLit;
}
;
_.onFailure = function onFailure_7(caught){
  $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}
;
_.onSuccess = function onSuccess_7(result){
  $onSuccess_6(this, dynamicCast(result, 6));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function WatchTab$15_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$15(){
}

_ = WatchTab$15_0.prototype = WatchTab$15.prototype = new Object_0;
_.getClass$ = function getClass_49(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$15_2_classLit;
}
;
_.onFailure = function onFailure_8(caught){
  $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}
;
_.onSuccess = function onSuccess_8(result){
  dynamicCast(result, 9).value_0?($setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Saved successfully.', false) , undefined):($setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Unable to save... are you logged in?', false) , undefined);
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function WatchTab$16_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$16(){
}

_ = WatchTab$16_0.prototype = WatchTab$16.prototype = new Object_0;
_.getClass$ = function getClass_50(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$16_2_classLit;
}
;
_.onFailure = function onFailure_9(caught){
  $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'There was an error on the server... please try again later.', false);
}
;
_.onSuccess = function onSuccess_9(result){
  dynamicCast(result, 9);
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function $sendURLToServer(this$static){
  var textToServer;
  textToServer = $getPropertyString(this$static.val$textBox.element, 'value');
  $requestPlaylistFromServer(this$static.this$0, textToServer);
}

function WatchTab$1GetChanButtonHandler_0(this$0, val$textBox){
  this.this$0 = this$0;
  this.val$textBox = val$textBox;
}

function WatchTab$1GetChanButtonHandler(){
}

_ = WatchTab$1GetChanButtonHandler_0.prototype = WatchTab$1GetChanButtonHandler.prototype = new Object_0;
_.getClass$ = function getClass_51(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1GetChanButtonHandler_2_classLit;
}
;
_.onClick = function onClick_5(event_0){
  $sendURLToServer(this);
}
;
_.onKeyUp = function onKeyUp_1(event_0){
  (event_0.nativeEvent.keyCode || 0) == 13 && $sendURLToServer(this);
}
;
_.castableTypeMap$ = {49:1, 51:1, 78:1};
_.this$0 = null;
_.val$textBox = null;
function WatchTab$1NextButtonHandler_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$1NextButtonHandler(){
}

_ = WatchTab$1NextButtonHandler_0.prototype = WatchTab$1NextButtonHandler.prototype = new Object_0;
_.getClass$ = function getClass_52(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1NextButtonHandler_2_classLit;
}
;
_.onClick = function onClick_6(event_0){
  $playPrevNextMedia(this.this$0, 1);
}
;
_.onKeyUp = function onKeyUp_2(event_0){
  (event_0.nativeEvent.keyCode || 0) == 13 && $playPrevNextMedia(this.this$0, 1);
}
;
_.castableTypeMap$ = {49:1, 51:1, 78:1};
_.this$0 = null;
function WatchTab$1PrevButtonHandler_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$1PrevButtonHandler(){
}

_ = WatchTab$1PrevButtonHandler_0.prototype = WatchTab$1PrevButtonHandler.prototype = new Object_0;
_.getClass$ = function getClass_53(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1PrevButtonHandler_2_classLit;
}
;
_.onClick = function onClick_7(event_0){
  $playPrevNextMedia(this.this$0, -1);
}
;
_.onKeyUp = function onKeyUp_3(event_0){
  (event_0.nativeEvent.keyCode || 0) == 13 && $playPrevNextMedia(this.this$0, -1);
}
;
_.castableTypeMap$ = {49:1, 51:1, 78:1};
_.this$0 = null;
function WatchTab$2_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$2(){
}

_ = WatchTab$2_0.prototype = WatchTab$2.prototype = new Object_0;
_.getClass$ = function getClass_54(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$2_2_classLit;
}
;
_.onValueChange = function onValueChange_0(event_0){
  this.this$0.internalZeroRec = dynamicCast(event_0.value_0, 9);
}
;
_.castableTypeMap$ = {63:1, 78:1};
_.this$0 = null;
function WatchTab$3_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$3(){
}

_ = WatchTab$3_0.prototype = WatchTab$3.prototype = new Object_0;
_.getClass$ = function getClass_55(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$3_2_classLit;
}
;
_.onKeyUp = function onKeyUp_4(event_0){
  var plsit, sel;
  if (this.this$0.isLoggedIn) {
    if ((event_0.nativeEvent.keyCode || 0) == 13) {
      sel = this.this$0.tree.curSelection;
      if (this.this$0.playableItems.map.containsKey(sel) || $containsValue(this.this$0.requestedURLS, sel)) {
        plsit = $getPlaylistItemFromTreeItem_0(this.this$0, sel);
        $requestSavePlsToServer(this.this$0, plsit);
      }
       else {
        $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Can only save requested playlists or media items', false);
      }
    }
  }
   else {
    $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Not logged in - cannot save.', false);
  }
}
;
_.castableTypeMap$ = {51:1, 78:1};
_.this$0 = null;
function WatchTab$4_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$4(){
}

_ = WatchTab$4_0.prototype = WatchTab$4.prototype = new Object_0;
_.getClass$ = function getClass_56(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$4_2_classLit;
}
;
_.onClick = function onClick_8(event_0){
  var plsit, sel;
  if (this.this$0.isLoggedIn) {
    sel = this.this$0.tree.curSelection;
    if (this.this$0.playableItems.map.containsKey(sel) || $containsValue(this.this$0.requestedURLS, sel)) {
      plsit = $getPlaylistItemFromTreeItem_0(this.this$0, sel);
      $requestSavePlsToServer(this.this$0, plsit);
    }
     else {
      $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Can only save requested playlists or media items', false);
    }
  }
   else {
    $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Not logged in - cannot save.', false);
  }
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$0 = null;
function WatchTab$5_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$5(){
}

_ = WatchTab$5_0.prototype = WatchTab$5.prototype = new Object_0;
_.getClass$ = function getClass_57(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$5_2_classLit;
}
;
_.onKeyUp = function onKeyUp_5(event_0){
  (event_0.nativeEvent.keyCode || 0) == 13 && $requestLoadPlsFromServer(this.this$0);
}
;
_.castableTypeMap$ = {51:1, 78:1};
_.this$0 = null;
function WatchTab$6_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$6(){
}

_ = WatchTab$6_0.prototype = WatchTab$6.prototype = new Object_0;
_.getClass$ = function getClass_58(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$6_2_classLit;
}
;
_.onClick = function onClick_9(event_0){
  $requestLoadPlsFromServer(this.this$0);
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$0 = null;
function $onSuccess_7(this$static, result){
  this$static.this$0.loginInfo = result;
  if (this$static.this$0.loginInfo.loggedIn) {
    this$static.this$0.signOutLink.element.href = this$static.this$0.loginInfo.logoutUrl;
    $add_2(this$static.val$inputControlsPanel, this$static.this$0.signOutLink);
    this$static.this$0.isLoggedIn = true;
    $requestLoadPlsFromServer(this$static.this$0);
    if (this$static.this$0.loginInfo.admin) {
      this$static.this$0.itemInfoLbl.element.style.display = '';
      $requestLoadGlobalPlsFromServer(this$static.this$0);
    }
     else {
      this$static.this$0.itemInfoLbl.element.style.display = 'none';
    }
  }
   else {
    this$static.this$0.signInLink.element.href = this$static.this$0.loginInfo.loginUrl;
    $add_2(this$static.val$inputControlsPanel, this$static.this$0.signInLink);
    this$static.this$0.isLoggedIn = false;
    this$static.this$0.itemInfoLbl.element.style.display = 'none';
  }
}

function WatchTab$7_0(this$0, val$inputControlsPanel){
  this.this$0 = this$0;
  this.val$inputControlsPanel = val$inputControlsPanel;
}

function WatchTab$7(){
}

_ = WatchTab$7_0.prototype = WatchTab$7.prototype = new Object_0;
_.getClass$ = function getClass_59(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$7_2_classLit;
}
;
_.onFailure = function onFailure_10(error){
  $setTextOrHtml(this.this$0.errorLabel.directionalTextHelper, 'Unable to verify login status.', false);
}
;
_.onSuccess = function onSuccess_10(result){
  $onSuccess_7(this, dynamicCast(result, 3));
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
_.val$inputControlsPanel = null;
function WatchTab$8_0(this$0){
  this.this$0 = this$0;
}

function WatchTab$8(){
}

_ = WatchTab$8_0.prototype = WatchTab$8.prototype = new Object_0;
_.getClass$ = function getClass_60(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$8_2_classLit;
}
;
_.onSelection = function onSelection_0(event_0){
  var plsit, sel;
  sel = dynamicCast(event_0.selectedItem, 7);
  plsit = $getPlaylistItemFromTreeItem_0(this.this$0, sel);
  if (plsit) {
    $setTextOrHtml(this.this$0.itemInfoLbl.directionalTextHelper, '[name=' + plsit.name_0 + '\nmediaID=' + plsit.mediaID + 'myURL=' + plsit.myURL + '\nowner=' + plsit.owner + '\nmediaType=' + plsit.playerType + '\ncreateDate=' + plsit.createDate + '\nisPlayable=' + plsit.isPlayable + '\nencodedKey=' + plsit.primaryKey + ']', false);
    plsit.isPlayable && $embedPlsItem_0(this.this$0, plsit);
  }
   else {
    $setTextOrHtml(this.this$0.itemInfoLbl.directionalTextHelper, 'No PlaylistItem linked to selected TreeItem!', false);
  }
}
;
_.castableTypeMap$ = {62:1, 78:1};
_.this$0 = null;
function WatchTab$9_0(this$0, val$textBox){
  this.this$0 = this$0;
  this.val$textBox = val$textBox;
}

function WatchTab$9(){
}

_ = WatchTab$9_0.prototype = WatchTab$9.prototype = new Object_0;
_.getClass$ = function getClass_61(){
  return Lcom_dnb_webmash_playmaker_client_ui_WatchTab$9_2_classLit;
}
;
_.onKeyUp = function onKeyUp_6(event_0){
  var plsit, sel, url, regexp, regexp_0;
  if ((event_0.nativeEvent.keyCode || 0) == 13) {
    sel = this.this$0.tree.curSelection;
    plsit = $getPlaylistItemFromTreeItem_0(this.this$0, sel);
    if (plsit.isPlayable) {
      $embedPlsItem_0(this.this$0, plsit);
    }
     else {
      url = sel.contentElem.textContent;
      if (regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp.test(url)) {
        $setText_0(this.val$textBox, url);
        $buttonClick(this.this$0.getChanButton.element);
      }
       else {
        if (regexp_0 = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/ , regexp_0.test(plsit.myURL?plsit.myURL.myValue:null)) {
          $setText_0(this.val$textBox, plsit.myURL?plsit.myURL.myValue:null);
          $buttonClick(this.this$0.getChanButton.element);
        }
      }
    }
  }
}
;
_.castableTypeMap$ = {51:1, 78:1};
_.this$0 = null;
_.val$textBox = null;
function LoginInfo_0(){
}

function LoginInfo(){
}

_ = LoginInfo_0.prototype = LoginInfo.prototype = new Object_0;
_.getClass$ = function getClass_62(){
  return Lcom_dnb_webmash_playmaker_shared_LoginInfo_2_classLit;
}
;
_.castableTypeMap$ = {3:1, 31:1};
_.admin = false;
_.emailAddress = null;
_.loggedIn = false;
_.loginUrl = null;
_.logoutUrl = null;
_.nickname = null;
_.uniqueID = null;
function deserialize(streamReader, instance){
  instance.admin = !!streamReader.results[--streamReader.index_0];
  instance.emailAddress = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.loggedIn = !!streamReader.results[--streamReader.index_0];
  instance.loginUrl = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.logoutUrl = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.nickname = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.uniqueID = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate(streamReader){
  return new LoginInfo_0;
}

function serialize(streamWriter, instance){
  append(streamWriter.encodeBuffer, instance.admin?'1':'0');
  $writeString(streamWriter, instance.emailAddress);
  append(streamWriter.encodeBuffer, instance.loggedIn?'1':'0');
  $writeString(streamWriter, instance.loginUrl);
  $writeString(streamWriter, instance.logoutUrl);
  $writeString(streamWriter, instance.nickname);
  $writeString(streamWriter, instance.uniqueID);
}

function MediaType_0(){
  this.createDate = new Date_1;
}

function MediaType_1(tP, mIP, sU, n, t){
  this.createDate = new Date_1;
  this.testPat = tP;
  this.mediaIDpats = mIP;
  this.sourceURL = sU;
  this.name_0 = n;
  this.type_0 = t;
}

function MediaType(){
}

_ = MediaType_1.prototype = MediaType_0.prototype = MediaType.prototype = new Object_0;
_.getClass$ = function getClass_63(){
  return Lcom_dnb_webmash_playmaker_shared_MediaType_2_classLit;
}
;
_.getName = function getName(){
  return this.name_0;
}
;
_.castableTypeMap$ = {8:1, 76:1};
_.createDate = null;
_.mediaIDpats = null;
_.name_0 = null;
_.owner = null;
_.primaryKey = null;
_.sourceURL = null;
_.testPat = null;
_.type_0 = null;
function deserialize_0(streamReader, instance){
  instance.createDate = dynamicCast($readObject(streamReader), 43);
  instance.mediaIDpats = dynamicCast($readObject(streamReader), 10);
  instance.name_0 = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.owner = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.primaryKey = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.sourceURL = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.testPat = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.type_0 = dynamicCast($readObject(streamReader), 13);
}

function instantiate_0(streamReader){
  return new MediaType_0;
}

--></script>
<script><!--
function serialize_0(streamWriter, instance){
  $writeObject(streamWriter, instance.createDate);
  $writeObject(streamWriter, instance.mediaIDpats);
  $writeString(streamWriter, instance.name_0);
  $writeString(streamWriter, instance.owner);
  $writeString(streamWriter, instance.primaryKey);
  $writeString(streamWriter, instance.sourceURL);
  $writeString(streamWriter, instance.testPat);
  $writeObject(streamWriter, instance.type_0);
}

function $compareTo(this$static, obj){
  return $equals(this$static, obj)?0:obj.myValue.toLowerCase().indexOf(this$static.myValue.toLowerCase()) != -1?-1:1;
}

function $equals(this$static, obj){
  var other;
  if (this$static === obj)
    return true;
  if (obj == null)
    return false;
  if (Lcom_dnb_webmash_playmaker_shared_MyURL_2_classLit != getClass__devirtual$(obj))
    return false;
  other = dynamicCast(obj, 44);
  if (this$static.myValue == null) {
    if (other.myValue != null)
      return false;
  }
   else if (!$equals_1(this$static.myValue, other.myValue))
    return false;
  return true;
}

function $hashCode(this$static){
  var result;
  result = 31 + (this$static.myValue == null?0:getHashCode_0(this$static.myValue));
  return result;
}

function MyURL_0(){
}

function MyURL(){
}

_ = MyURL_0.prototype = MyURL.prototype = new Object_0;
_.equals$ = function equals_1(obj){
  return $equals(this, obj);
}
;
_.getClass$ = function getClass_64(){
  return Lcom_dnb_webmash_playmaker_shared_MyURL_2_classLit;
}
;
_.hashCode$ = function hashCode_2(){
  return 31 + (this.myValue == null?0:getHashCode_0(this.myValue));
}
;
_.toString$ = function toString_2(){
  return this.myValue;
}
;
_.castableTypeMap$ = {35:1, 44:1, 76:1};
_.myValue = null;
function deserialize_1(streamReader, instance){
  instance.myValue = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate_1(streamReader){
  return new MyURL_0;
}

function serialize_1(streamWriter, instance){
  $writeString(streamWriter, instance.myValue);
}

function Option_1(){
}

function Option_2(name_0, b){
  this.myName = name_0;
  this.myOptions = new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['true', 'false'])));
  b?(this.setOption = 0):(this.setOption = 1);
}

function Option_3(name_0, options, def){
  this.myName = name_0;
  this.myOptions = new ArrayList_1(options);
  this.setOption = def;
}

function Option_0(){
}

_ = Option_3.prototype = Option_2.prototype = Option_1.prototype = Option_0.prototype = new Object_0;
_.getClass$ = function getClass_65(){
  return Lcom_dnb_webmash_playmaker_shared_Option_2_classLit;
}
;
_.castableTypeMap$ = {12:1, 76:1};
_.myName = null;
_.myOptions = null;
_.setOption = 0;
function deserialize_2(streamReader, instance){
  instance.myName = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.myOptions = dynamicCast($readObject(streamReader), 10);
  instance.setOption = streamReader.results[--streamReader.index_0];
}

function instantiate_2(streamReader){
  return new Option_1;
}

function PlayerConfig_0(){
}

function PlayerConfig(){
}

_ = PlayerConfig_0.prototype = PlayerConfig.prototype = new Object_0;
_.getClass$ = function getClass_66(){
  return Lcom_dnb_webmash_playmaker_shared_PlayerConfig_2_classLit;
}
;
_.castableTypeMap$ = {76:1};
function deserialize_3(streamReader, instance){
  dynamicCast($readObject(streamReader), 43);
  $getString(streamReader, streamReader.results[--streamReader.index_0]);
  dynamicCast($readObject(streamReader), 10);
  $getString(streamReader, streamReader.results[--streamReader.index_0]);
  dynamicCast($readObject(streamReader), 13);
}

function instantiate_3(streamReader){
  return new PlayerConfig_0;
}

function Enum(){
}

_ = Enum.prototype = new Object_0;
_.equals$ = function equals_2(other){
  return this === other;
}
;
_.getClass$ = function getClass_67(){
  return Ljava_lang_Enum_2_classLit;
}
;
_.hashCode$ = function hashCode_3(){
  return this.$H || (this.$H = ++sNextHashId);
}
;
_.toString$ = function toString_3(){
  return this.name_0;
}
;
_.castableTypeMap$ = {31:1, 35:1, 36:1};
_.name_0 = null;
_.ordinal = 0;
function $clinit_6(){
  $clinit_6 = nullMethod;
  FLASH = new PlayerType_0('FLASH', 0, 0);
  IFRAME = new PlayerType_0('IFRAME', 1, 1);
  EMBED = new PlayerType_0('EMBED', 2, 2);
  SCRIPT = new PlayerType_0('SCRIPT', 3, 3);
  FILE = new PlayerType_0('FILE', 4, 4);
  $VALUES = initValues(_3Lcom_dnb_webmash_playmaker_shared_PlayerType_2_classLit, {31:1}, 13, [FLASH, IFRAME, EMBED, SCRIPT, FILE]);
}

function PlayerType_0(enum$name, enum$ordinal, value){
  this.name_0 = enum$name;
  this.ordinal = enum$ordinal;
  this.value_0 = value;
}

function get(type){
  $clinit_6();
  var playerType, playerType$array, playerType$index, playerType$max;
  for (playerType$array = $VALUES , playerType$index = 0 , playerType$max = playerType$array.length; playerType$index < playerType$max; ++playerType$index) {
    playerType = playerType$array[playerType$index];
    if (playerType.value_0 == type) {
      return playerType;
    }
  }
  return null;
}

function getDescription(type){
  $clinit_6();
  switch (get(type).ordinal) {
    case 0:
      return 'Flash player options:<br>src = Full URL of Item. == sourceURL + mediaID found for each mediaIDPat<br><br>Player description: <br>An object element with an embed element with a src attribute and a type=application/x-shockwave-flash attribute and an allowScriptAccess=always attribute.<br>The object element also has a series of param children; first one with an allowFullScreen=true attribute, second one with an allowScriptAccess=always attribute.';
    case 1:
      return 'Iframe player options:<br>src = Full URL of Item. == sourceURL + mediaID found for each mediaIDPat<br><br>Player description: <br>An iframe element with a src attribute, a frameborder=0 attribute, and an allowScriptAccess=always attribute.';
    case 2:
      return 'Embed player options:<br>Inner HTML = Selected element.<br><br>Player description: <br>A media element containing the selected element.';
    case 3:
      return 'Script player options:<br>src = Selected Element<br><br>Player description: <br>A div element with a script element of type=text/javascript and a src attribute.';
    case 4:
      return 'File player options:data = Full URL of Item. == sourceURL + mediaID found for each mediaIDPat<br><br>Player description: <br>An object element with a data attribute.';
    default:return 'null playertype!';
  }
}

function values_0(){
  $clinit_6();
  return $VALUES;
}

function PlayerType(){
}

_ = PlayerType_0.prototype = PlayerType.prototype = new Enum;
_.getClass$ = function getClass_68(){
  return Lcom_dnb_webmash_playmaker_shared_PlayerType_2_classLit;
}
;
_.castableTypeMap$ = {13:1, 31:1, 35:1, 36:1};
_.value_0 = 0;
var $VALUES, EMBED, FILE, FLASH, IFRAME, SCRIPT;
function deserialize_4(streamReader, instance){
}

function instantiate_4(streamReader){
  var ordinal, values;
  ordinal = streamReader.results[--streamReader.index_0];
  values = ($clinit_6() , $clinit_6() , $VALUES);
  return values[ordinal];
}

function serialize_2(streamWriter, instance){
  append(streamWriter.encodeBuffer, '' + instance.ordinal);
}

function $getFullURL(this$static){
  return this$static.myURL?this$static.myURL.myValue:null;
}

function $hasChildren(this$static){
  if (!this$static.children)
    return false;
  if (this$static.children.map.size_0() == 0)
    return false;
  return true;
}

function PlaylistItem_0(){
  this.createDate = new Date_1;
}

function PlaylistItem_1(){
  this.createDate = new Date_1;
  this.name_0 = 'PlaylistItemToTest';
}

function PlaylistItem(){
}

_ = PlaylistItem_1.prototype = PlaylistItem_0.prototype = PlaylistItem.prototype = new Object_0;
_.equals$ = function equals_3(obj){
  var other;
  if (this === obj)
    return true;
  if (obj == null)
    return false;
  if (Lcom_dnb_webmash_playmaker_shared_PlaylistItem_2_classLit != getClass__devirtual$(obj))
    return false;
  other = dynamicCast(obj, 6);
  if (this.isPlayable != other.isPlayable)
    return false;
  if (!this.myURL) {
    if (other.myURL)
      return false;
  }
   else {
    if (this.isPlayable) {
      if ($compareTo(this.myURL, other.myURL) <= 0 || $compareTo(other.myURL, this.myURL) <= 0)
        return true;
    }
    if (!$equals(this.myURL, other.myURL))
      return false;
  }
  if (!this.element) {
    if (other.element)
      return false;
  }
   else if ($equals_0(this.element, other.element)) {
    if ($equals_0(this.element, other.element))
      return true;
  }
   else {
    return false;
  }
  if (this.mediaID == null) {
    if (other.mediaID != null)
      return false;
  }
   else if ($equals_1(this.mediaID, other.mediaID)) {
    if ($equals_1(this.mediaID, other.mediaID))
      return true;
  }
   else {
    return false;
  }
  if (!this.children) {
    if (other.children)
      return false;
  }
   else if (!$equals_3(this.children, other.children))
    return false;
  if (this.name_0 == null) {
    if (other.name_0 != null)
      return false;
  }
   else if (!$equals_1(this.name_0, other.name_0))
    return false;
  return true;
}
;
_.getClass$ = function getClass_69(){
  return Lcom_dnb_webmash_playmaker_shared_PlaylistItem_2_classLit;
}
;
_.hashCode$ = function hashCode_4(){
  var result;
  result = 31 + (this.isPlayable?1231:1237);
  if (!this.isPlayable) {
    result = 31 * result + (!this.children?0:this.children.map.size_0());
    result = 31 * result + (this.mediaID == null?0:getHashCode_0(this.mediaID));
    result = 31 * result + (!this.myURL?0:$hashCode(this.myURL));
    result = 31 * result + (this.name_0 == null?0:getHashCode_0(this.name_0));
    result = 31 * result + (!this.playerType?0:getHashCode(this.playerType));
  }
  return result;
}
;
_.toString$ = function toString_4(){
  return 'PlaylistItem [myURL=' + this.myURL + ', mediaID=' + this.mediaID + ', name=' + this.name_0 + ', owner=' + this.owner + ', mediatype=' + this.playerType + ', createDate=' + this.createDate + ', isPlayable=' + this.isPlayable + ', primaryKey=' + this.primaryKey + ', element=' + this.element + ', children=' + this.children + ']';
}
;
_.castableTypeMap$ = {6:1, 76:1};
_.children = null;
_.createDate = null;
_.element = null;
_.isPlayable = false;
_.mediaID = null;
_.mediaType = null;
_.myURL = null;
_.name_0 = null;
_.nextLevel = null;
_.owner = null;
_.parents = null;
_.playerType = null;
_.primaryKey = null;
function deserialize_5(streamReader, instance){
  instance.children = dynamicCast($readObject(streamReader), 45);
  instance.createDate = dynamicCast($readObject(streamReader), 43);
  instance.element = dynamicCast($readObject(streamReader), 11);
  instance.isPlayable = !!streamReader.results[--streamReader.index_0];
  instance.mediaID = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.mediaType = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.myURL = dynamicCast($readObject(streamReader), 44);
  instance.name_0 = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.nextLevel = dynamicCast($readObject(streamReader), 10);
  instance.owner = $getString(streamReader, streamReader.results[--streamReader.index_0]);
  instance.parents = dynamicCast($readObject(streamReader), 11);
  instance.playerType = dynamicCast($readObject(streamReader), 13);
  instance.primaryKey = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate_5(streamReader){
  return new PlaylistItem_0;
}

function serialize_3(streamWriter, instance){
  $writeObject(streamWriter, instance.children);
  $writeObject(streamWriter, instance.createDate);
  $writeObject(streamWriter, instance.element);
  append(streamWriter.encodeBuffer, instance.isPlayable?'1':'0');
  $writeString(streamWriter, instance.mediaID);
  $writeString(streamWriter, instance.mediaType);
  $writeObject(streamWriter, instance.myURL);
  $writeString(streamWriter, instance.name_0);
  $writeObject(streamWriter, instance.nextLevel);
  $writeString(streamWriter, instance.owner);
  $writeObject(streamWriter, instance.parents);
  $writeObject(streamWriter, instance.playerType);
  $writeString(streamWriter, instance.primaryKey);
}

function Embeds_0(){
  this.createDate = new Date_1;
}

function Embeds(){
}

_ = Embeds_0.prototype = Embeds.prototype = new MediaType;
_.getClass$ = function getClass_70(){
  return Lcom_dnb_webmash_playmaker_shared_generics_Embeds_2_classLit;
}
;
_.getName = function getName_0(){
  return 'Embeds';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_6(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_6(streamReader){
  return new Embeds_0;
}

function serialize_4(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function Iframes_0(){
  this.createDate = new Date_1;
}

function Iframes(){
}

_ = Iframes_0.prototype = Iframes.prototype = new MediaType;
_.getClass$ = function getClass_71(){
  return Lcom_dnb_webmash_playmaker_shared_generics_Iframes_2_classLit;
}
;
_.getName = function getName_1(){
  return 'Iframes';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_7(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_7(streamReader){
  return new Iframes_0;
}

function serialize_5(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function ImageLinks_0(){
  this.createDate = new Date_1;
}

function ImageLinks(){
}

_ = ImageLinks_0.prototype = ImageLinks.prototype = new MediaType;
_.getClass$ = function getClass_72(){
  return Lcom_dnb_webmash_playmaker_shared_generics_ImageLinks_2_classLit;
}
;
_.getName = function getName_2(){
  return 'ImageLinks';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_8(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_8(streamReader){
  return new ImageLinks_0;
}

function serialize_6(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function MimeObjects_0(){
  this.createDate = new Date_1;
}

function MimeObjects(){
}

_ = MimeObjects_0.prototype = MimeObjects.prototype = new MediaType;
_.getClass$ = function getClass_73(){
  return Lcom_dnb_webmash_playmaker_shared_generics_MimeObjects_2_classLit;
}
;
_.getName = function getName_3(){
  return 'MimeObjects';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_9(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_9(streamReader){
  return new MimeObjects_0;
}

function serialize_7(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function Objects_0(){
  this.createDate = new Date_1;
}

function Objects(){
}

_ = Objects_0.prototype = Objects.prototype = new MediaType;
_.getClass$ = function getClass_74(){
  return Lcom_dnb_webmash_playmaker_shared_generics_Objects_2_classLit;
}
;
_.getName = function getName_4(){
  return 'Objects';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_10(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_10(streamReader){
  return new Objects_0;
}

function serialize_8(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_7(){
  $clinit_7 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['archive\\.org/details/([^"\'& ]+)', 'archive\\.org/download/([^/\'"& ]+)='])));
  $clinit_6();
}

function Archive_0(){
  $clinit_7();
  this.createDate = new Date_1;
}

function Archive(){
}

_ = Archive_0.prototype = Archive.prototype = new MediaType;
_.getClass$ = function getClass_75(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Archive_2_classLit;
}
;
_.getName = function getName_5(){
  return 'Internet Archive';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_11(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_11(streamReader){
  return new Archive_0;
}

function serialize_9(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_8(){
  $clinit_8 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['bitsontherun\\.com/preview/([^/"\'&- ]+)', 'bitsontherun\\.com/players/([^/"\'&- ]+)'])));
  $clinit_6();
}

function Bitsontherun_0(){
  $clinit_8();
  this.createDate = new Date_1;
}

function Bitsontherun(){
}

_ = Bitsontherun_0.prototype = Bitsontherun.prototype = new MediaType;
_.getClass$ = function getClass_76(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Bitsontherun_2_classLit;
}
;
_.getName = function getName_6(){
  return 'Podomatic';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_12(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_12(streamReader){
  return new Bitsontherun_0;
}

function serialize_10(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_9(){
  $clinit_9 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['blip\\.tv/play/([^"\'&\\?/ ]+)', 'blip\\.tv/rss/flash/([^"\'&\\?/ ]+)', 'blip\\.tv/file/view/([^"\'&\\?/ ]+)', 'blip\\.tv/file/([^"\'&\\?/ ]+)'])));
  $clinit_6();
}

function Bliptv_0(){
  $clinit_9();
  this.createDate = new Date_1;
}

function Bliptv(){
}

_ = Bliptv_0.prototype = Bliptv.prototype = new MediaType;
_.getClass$ = function getClass_77(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Bliptv_2_classLit;
}
;
_.getName = function getName_7(){
  return 'Bliptv';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_13(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_13(streamReader){
  return new Bliptv_0;
}

function serialize_11(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_10(){
  $clinit_10 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['dailymotion\\.com/swf/([^"\'& ]+)', 'dailymotion\\.com/([^/_\'"& ]+)'])));
  $clinit_6();
}

function Dailymotion_0(){
  $clinit_10();
  this.createDate = new Date_1;
}

function Dailymotion(){
}

_ = Dailymotion_0.prototype = Dailymotion.prototype = new MediaType;
_.getClass$ = function getClass_78(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Dailymotion_2_classLit;
}
;
_.getName = function getName_8(){
  return 'Dailymotion';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_14(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_14(streamReader){
  return new Dailymotion_0;
}

function serialize_12(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_11(){
  $clinit_11 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['8tracks\\.com/([^/"\'& ]+)'])));
  $clinit_6();
}

function EightTracks_0(){
  $clinit_11();
  this.createDate = new Date_1;
}

function EightTracks(){
}

_ = EightTracks_0.prototype = EightTracks.prototype = new MediaType;
_.getClass$ = function getClass_79(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_EightTracks_2_classLit;
}
;
_.getName = function getName_9(){
  return '8tracks';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_15(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_15(streamReader){
  return new EightTracks_0;
}

function serialize_13(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_12(){
  $clinit_12 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['flickr\\.com/.+?/.+?/sets/([^/\\?\'"& ]+)', 'sets%2F(.+?)%2Fshow', 'flickr\\.com/photos/[^/\'"& ]*/(\\d+)'])));
  $clinit_6();
}

function Flickr_0(){
  $clinit_12();
  this.createDate = new Date_1;
}

function Flickr(){
}

_ = Flickr_0.prototype = Flickr.prototype = new MediaType;
_.getClass$ = function getClass_80(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Flickr_2_classLit;
}
;
_.getName = function getName_10(){
  return 'Flickr';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_16(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_16(streamReader){
  return new Flickr_0;
}

function serialize_14(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_13(){
  $clinit_13 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['/videoplay\\?docid=([^/&\'" ]+)', '/videoplay%3Fdocid=([^/&\'" ]+)', '/videoplay\\?docid%3D([^/&\'" ]+)', '/videoplay%3Fdocid%3D([^/&\'" ]+)', '/googleplayer\\.swf\\?docId=([^/&\'" ]+)', '/googleplayer\\.swf\\?docId%3D([^/&\'" ]+)'])));
  $clinit_6();
}

function Googlevideo_0(){
  $clinit_13();
  this.createDate = new Date_1;
}

function Googlevideo(){
}

_ = Googlevideo_0.prototype = Googlevideo.prototype = new MediaType;
_.getClass$ = function getClass_81(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Googlevideo_2_classLit;
}
;
_.getName = function getName_11(){
  return 'Google Video';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_17(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_17(streamReader){
  return new Googlevideo_0;
}

function serialize_15(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_14(){
  $clinit_14 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['guba\\.com/watch/([^"\'&\\? ]+)', 'guba\\.com/uploaditem/([^"\'&\\?/ ]+)'])));
  $clinit_6();
}

function Guba_0(){
  $clinit_14();
  this.createDate = new Date_1;
}

function Guba(){
}

_ = Guba_0.prototype = Guba.prototype = new MediaType;
_.getClass$ = function getClass_82(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Guba_2_classLit;
}
;
_.getName = function getName_12(){
  return 'Guba';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_18(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_18(streamReader){
  return new Guba_0;
}

function serialize_16(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_15(){
  $clinit_15 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['hulu\\.com/watch/([^\\?"\'& ]+)'])));
  $clinit_6();
}

function Hulu_0(){
  $clinit_15();
  this.createDate = new Date_1;
}

function Hulu(){
}

_ = Hulu_0.prototype = Hulu.prototype = new MediaType;
_.getClass$ = function getClass_83(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Hulu_2_classLit;
}
;
_.getName = function getName_13(){
  return 'Hulu';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_19(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_19(streamReader){
  return new Hulu_0;
}

function serialize_17(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_16(){
  $clinit_16 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['livevideo\\.com/flvplayer/embed/([^"\'& ]+)', 'livevideo\\.com/video/([^/"\'& ]+)/'])));
  $clinit_6();
}

function Livevideo_0(){
  $clinit_16();
  this.createDate = new Date_1;
}

function Livevideo(){
}

_ = Livevideo_0.prototype = Livevideo.prototype = new MediaType;
_.getClass$ = function getClass_84(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Livevideo_2_classLit;
}
;
_.getName = function getName_14(){
  return 'Livevideo';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_20(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_20(streamReader){
  return new Livevideo_0;
}

function serialize_18(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_17(){
  $clinit_17 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['megavideo\\.com/v/([^"\'& ]+)', 'megavideo\\.com/\\?v=([^"\'& ]+)'])));
  $clinit_6();
}

function Megavideo_0(){
  $clinit_17();
  this.createDate = new Date_1;
}

function Megavideo(){
}

_ = Megavideo_0.prototype = Megavideo.prototype = new MediaType;
_.getClass$ = function getClass_85(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Megavideo_2_classLit;
}
;
_.getName = function getName_15(){
  return 'Megavideo';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_21(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_21(streamReader){
  return new Megavideo_0;
}

function serialize_19(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_18(){
  $clinit_18 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['metacafe\\.com/watch/([^/"\'& ]+/[^/"\'& ]+)', 'metacafe\\.com/watch/([^/"\'& ]+/[^/"\'& ]+)', 'metacafe\\.com/fplayer/([^/"\'& ]+/[^/"\'& ]+)'])));
  $clinit_6();
}

function Metacafe_0(){
  $clinit_18();
  this.createDate = new Date_1;
}

function Metacafe(){
}

_ = Metacafe_0.prototype = Metacafe.prototype = new MediaType;
_.getClass$ = function getClass_86(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Metacafe_2_classLit;
}
;
_.getName = function getName_16(){
  return 'Metacafe';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_22(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_22(streamReader){
  return new Metacafe_0;
}

function serialize_20(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_19(){
  $clinit_19 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['myspace[^"\' ]*videoid=([^&"\' ]+)'])));
  $clinit_6();
}

function Myspace_0(){
  $clinit_19();
  this.createDate = new Date_1;
}

function Myspace(){
}

_ = Myspace_0.prototype = Myspace.prototype = new MediaType;
_.getClass$ = function getClass_87(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Myspace_2_classLit;
}
;
_.getName = function getName_17(){
  return 'Myspace Video';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_23(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_23(streamReader){
  return new Myspace_0;
}

function serialize_21(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_20(){
  $clinit_20 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['odeo\\.com/episodes/([0-9]+)-'])));
  $clinit_6();
}

function Odeo_0(){
  $clinit_20();
  this.createDate = new Date_1;
}

function Odeo(){
}

_ = Odeo_0.prototype = Odeo.prototype = new MediaType;
_.getClass$ = function getClass_88(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Odeo_2_classLit;
}
;
_.getName = function getName_18(){
  return 'Odeo';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_24(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_24(streamReader){
  return new Odeo_0;
}

function serialize_22(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_21(){
  $clinit_21 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['podcastalley\\.com/podcast_details\\.php?pod_id=([0-9]+)'])));
  $clinit_6();
}

function Podcastalley_0(){
  $clinit_21();
  this.createDate = new Date_1;
}

function Podcastalley(){
}

_ = Podcastalley_0.prototype = Podcastalley.prototype = new MediaType;
_.getClass$ = function getClass_89(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Podcastalley_2_classLit;
}
;
_.getName = function getName_19(){
  return 'Podcast Alley';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_25(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_25(streamReader){
  return new Podcastalley_0;
}

function serialize_23(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_22(){
  $clinit_22 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['podomatic\\.com/podcast/embed/([^"\'& ]+)', '//([^\\.]+)\\.podomatic\\.com'])));
  $clinit_6();
}

function Podomatic_0(){
  $clinit_22();
  this.createDate = new Date_1;
}

function Podomatic(){
}

_ = Podomatic_0.prototype = Podomatic.prototype = new MediaType;
_.getClass$ = function getClass_90(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Podomatic_2_classLit;
}
;
_.getName = function getName_20(){
  return 'Podomatic';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_26(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_26(streamReader){
  return new Podomatic_0;
}

function serialize_24(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_23(){
  $clinit_23 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['revver\\.com/video/([^/"\' ]+)', 'revver\\.com/player/[^"\' ]*mediaId:([^;"\' ]+)'])));
  $clinit_6();
}

function Revver_0(){
  $clinit_23();
  this.createDate = new Date_1;
}

function Revver(){
}

_ = Revver_0.prototype = Revver.prototype = new MediaType;
_.getClass$ = function getClass_91(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Revver_2_classLit;
}
;
_.getName = function getName_21(){
  return 'Revver';
}
;
_.castableTypeMap$ = {8:1, 76:1};
--></script>
<script><!--
function deserialize_27(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_27(streamReader){
  return new Revver_0;
}

function serialize_25(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_24(){
  $clinit_24 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['videos\\.sapo\\.pt/([^/"\' ]+)'])));
  $clinit_6();
}

function Sapo_0(){
  $clinit_24();
  this.createDate = new Date_1;
}

function Sapo(){
}

_ = Sapo_0.prototype = Sapo.prototype = new MediaType;
_.getClass$ = function getClass_92(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Sapo_2_classLit;
}
;
_.getName = function getName_22(){
  return 'Sapo';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_28(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_28(streamReader){
  return new Sapo_0;
}

function serialize_26(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_25(){
  $clinit_25 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['sevenload\\.com/videos/([^"\' ]+)', 'sevenload\\.com/pl/([^"\' ]+)'])));
  $clinit_6();
}

function Sevenload_0(){
  $clinit_25();
  this.createDate = new Date_1;
}

function Sevenload(){
}

_ = Sevenload_0.prototype = Sevenload.prototype = new MediaType;
_.getClass$ = function getClass_93(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Sevenload_2_classLit;
}
;
_.getName = function getName_23(){
  return 'Sevenload';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_29(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_29(streamReader){
  return new Sevenload_0;
}

function serialize_27(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_26(){
  $clinit_26 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['smugmug\\.com/*/[^#]*#(\\w+)', 'smugmug\\.com/*/[^#]*/[\\d]/[#]?(\\w+)', 'smugmug\\.com/photos/(\\w+)'])));
  $clinit_6();
}

function Smugmug_0(){
  $clinit_26();
  this.createDate = new Date_1;
}

function Smugmug(){
}

_ = Smugmug_0.prototype = Smugmug.prototype = new MediaType;
_.getClass$ = function getClass_94(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Smugmug_2_classLit;
}
;
_.getName = function getName_24(){
  return 'Smugmug';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_30(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_30(streamReader){
  return new Smugmug_0;
}

function serialize_28(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_27(){
  $clinit_27 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['soundcloud\\.com/player.swf?([^"\'& ]+)'])));
  $clinit_6();
}

function Soundcloud_0(){
  $clinit_27();
  this.createDate = new Date_1;
}

function Soundcloud(){
}

_ = Soundcloud_0.prototype = Soundcloud.prototype = new MediaType;
_.getClass$ = function getClass_95(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Soundcloud_2_classLit;
}
;
_.getName = function getName_25(){
  return 'Soundcloud';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_31(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_31(streamReader){
  return new Soundcloud_0;
}

function serialize_29(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_28(){
  $clinit_28 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['spike\\.com/video/([^&"\'\\? ]+)', 'spike\\.com/[^"\'& ]*flvbaseclip=([^/&"\'\\? ]+)'])));
  $clinit_6();
}

function Spike_0(){
  $clinit_28();
  this.createDate = new Date_1;
}

function Spike(){
}

_ = Spike_0.prototype = Spike.prototype = new MediaType;
_.getClass$ = function getClass_96(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Spike_2_classLit;
}
;
_.getName = function getName_26(){
  return 'Spike';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_32(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_32(streamReader){
  return new Spike_0;
}

function serialize_30(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_29(){
  $clinit_29 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['tagtele\\.com/videos/voir/([^"\'& ]+)'])));
  $clinit_6();
}

function Tagtele_0(){
  $clinit_29();
  this.createDate = new Date_1;
}

function Tagtele(){
}

_ = Tagtele_0.prototype = Tagtele.prototype = new MediaType;
_.getClass$ = function getClass_97(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Tagtele_2_classLit;
}
;
_.getName = function getName_27(){
  return 'Tagtele';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_33(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_33(streamReader){
  return new Tagtele_0;
}

function serialize_31(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_30(){
  $clinit_30 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['teachertube\\.com/viewVideo\\.php\\?video_id=([\\d]+)'])));
  $clinit_6();
}

function Teachertube_0(){
  $clinit_30();
  this.createDate = new Date_1;
}

function Teachertube(){
}

_ = Teachertube_0.prototype = Teachertube.prototype = new MediaType;
_.getClass$ = function getClass_98(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Teachertube_2_classLit;
}
;
_.getName = function getName_28(){
  return 'Teachertube';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_34(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_34(streamReader){
  return new Teachertube_0;
}

function serialize_32(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_31(){
  $clinit_31 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['video\\.ted\\.com/talks/dynamic/([^"\'&]+)'])));
  $clinit_6();
}

function Ted_0(){
  $clinit_31();
  this.createDate = new Date_1;
}

function Ted(){
}

_ = Ted_0.prototype = Ted.prototype = new MediaType;
_.getClass$ = function getClass_99(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Ted_2_classLit;
}
;
_.getName = function getName_29(){
  return 'Ted';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_35(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_35(streamReader){
  return new Ted_0;
}

function serialize_33(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_32(){
  $clinit_32 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['tudou\\.com/programs/view/([^"\'&/ ]+)', 'tudou\\.com/v/([^"\'&/ ]+)'])));
  $clinit_6();
}

function Tudou_0(){
  $clinit_32();
  this.createDate = new Date_1;
}

function Tudou(){
}

_ = Tudou_0.prototype = Tudou.prototype = new MediaType;
_.getClass$ = function getClass_100(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Tudou_2_classLit;
}
;
_.getName = function getName_30(){
  return 'Tudou';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_36(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_36(streamReader){
  return new Tudou_0;
}

function serialize_34(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_33(){
  $clinit_33 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['twistage\\.com/videos/([^"\'\\? ]+)', 'twistage\\.com/plugins/[^"\' ]*v=([^"\'& ]*)'])));
  $clinit_6();
}

function Twistage_0(){
  $clinit_33();
  this.createDate = new Date_1;
}

function Twistage(){
}

_ = Twistage_0.prototype = Twistage.prototype = new MediaType;
_.getClass$ = function getClass_101(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Twistage_2_classLit;
}
;
_.getName = function getName_31(){
  return 'Twistage';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_37(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_37(streamReader){
  return new Twistage_0;
}

function serialize_35(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_34(){
  $clinit_34 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['ustream\\.tv/(flash/live/[^"\'&\\?]+)', 'ustream\\.tv/(recorded/[^"\'&\\?]+)'])));
  $clinit_6();
}

function Ustream_0(){
  $clinit_34();
  this.createDate = new Date_1;
}

function Ustream(){
}

_ = Ustream_0.prototype = Ustream.prototype = new MediaType;
_.getClass$ = function getClass_102(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Ustream_2_classLit;
}
;
_.getName = function getName_32(){
  return 'Ustream';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_38(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_38(streamReader){
  return new Ustream_0;
}

function serialize_36(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_35(){
  $clinit_35 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['viddler\\.com/player/(\\w*)/', 'viddler\\.com/simple/(\\w*)/'])));
  $clinit_6();
}

function Viddler_0(){
  $clinit_35();
  this.createDate = new Date_1;
}

function Viddler(){
}

_ = Viddler_0.prototype = Viddler.prototype = new MediaType;
_.getClass$ = function getClass_103(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Viddler_2_classLit;
}
;
_.getName = function getName_33(){
  return 'Viddler';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_39(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_39(streamReader){
  return new Viddler_0;
}

function serialize_37(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_36(){
  $clinit_36 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['videojug\\.com/film/([^"\'\\?/ ]+)'])));
  $clinit_6();
}

function Videojug_0(){
  $clinit_36();
  this.createDate = new Date_1;
}

function Videojug(){
}

_ = Videojug_0.prototype = Videojug.prototype = new MediaType;
_.getClass$ = function getClass_104(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Videojug_2_classLit;
}
;
_.getName = function getName_34(){
  return 'Videojug';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_40(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_40(streamReader){
  return new Videojug_0;
}

function serialize_38(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_37(){
  $clinit_37 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['vimeo\\.com/[^"\' ]*clip_id=([^"\'& ]+)', 'vimeo\\.com/[^"\'&\\d]*([^"\'& ]+)'])));
  $clinit_6();
}

function Vimeo_0(){
  $clinit_37();
  this.createDate = new Date_1;
}

function Vimeo(){
}

_ = Vimeo_0.prototype = Vimeo.prototype = new MediaType;
_.getClass$ = function getClass_105(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Vimeo_2_classLit;
}
;
_.getName = function getName_35(){
  return 'Vimeo';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_41(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_41(streamReader){
  return new Vimeo_0;
}

function serialize_39(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_38(){
  $clinit_38 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['youtube\\.com/v/([^"\'& ]+)', 'youtube\\.com/watch.+\\?v=([^"\'& ]+)', 'youtube\\.com/\\?v=([^"\'& ]+)'])));
  $clinit_6();
}

function YouTube_0(){
  $clinit_38();
  this.createDate = new Date_1;
}

function YouTube(){
}

_ = YouTube_0.prototype = YouTube.prototype = new MediaType;
_.getClass$ = function getClass_106(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_YouTube_2_classLit;
}
;
_.getName = function getName_36(){
  return 'YouTube';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_42(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_42(streamReader){
  return new YouTube_0;
}

function serialize_40(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function $clinit_39(){
  $clinit_39 = nullMethod;
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['v\\.youku\\.com/v_show/id_([^"\'&/\\. ]+)', 'player\\.youku\\.com/player\\.php/sid/([^"\'&/ ]+)'])));
  $clinit_6();
}

function Youku_0(){
  $clinit_39();
  this.createDate = new Date_1;
}

function Youku(){
}

_ = Youku_0.prototype = Youku.prototype = new MediaType;
_.getClass$ = function getClass_107(){
  return Lcom_dnb_webmash_playmaker_shared_mediatypes_Youku_2_classLit;
}
;
_.getName = function getName_37(){
  return 'Youku';
}
;
_.castableTypeMap$ = {8:1, 76:1};
function deserialize_43(streamReader, instance){
  deserialize_0(streamReader, instance);
}

function instantiate_43(streamReader){
  return new Youku_0;
}

function serialize_41(streamWriter, instance){
  serialize_0(streamWriter, instance);
}

function FlashSettings_0(){
  $clinit_6();
  new ArrayList_1(new Arrays$ArrayList_0(initValues(_3Lcom_dnb_webmash_playmaker_shared_Option_2_classLit, {31:1}, 12, [new Option_2('play', true), new Option_2('loop', false), new Option_2('menu', true), new Option_3('quality', new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['low', 'autolow', 'autohigh', 'medium', 'high', 'best'])), 2), new Option_3('scale', new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['showall', 'noborder', 'exactfit', 'noscale'])), 0), new Option_3('align', new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['l', 't', 'r'])), -1), new Option_3('salign', new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['l', 't', 'r', 'tl', 'tr'])), -1), new Option_3('wmode', new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['window', 'opaque', 'transparent'])), 0), new Option_3('fullScreenAspectRatio', new Arrays$ArrayList_0(initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['portrait', 'landscape'])), -1)])));
}

function FlashSettings(){
}

_ = FlashSettings_0.prototype = FlashSettings.prototype = new PlayerConfig;
_.getClass$ = function getClass_108(){
  return Lcom_dnb_webmash_playmaker_shared_playerconfigs_FlashSettings_2_classLit;
}
;
_.castableTypeMap$ = {76:1};
function deserialize_44(streamReader, instance){
  dynamicCast($readObject(streamReader), 43);
  $getString(streamReader, streamReader.results[--streamReader.index_0]);
  dynamicCast($readObject(streamReader), 10);
  $getString(streamReader, streamReader.results[--streamReader.index_0]);
  dynamicCast($readObject(streamReader), 13);
}

function instantiate_44(streamReader){
  return new FlashSettings_0;
}

function $equals_0(this$static, obj){
  var eq, that, thatValue, thisValue;
  if (this$static === obj) {
    return true;
  }
  eq = false;
  if (obj != null && obj.castableTypeMap$ && !!obj.castableTypeMap$[11]) {
    that = dynamicCast(obj, 11);
    thisValue = this$static.value_0;
    thatValue = that.value_0;
    thisValue != null && thatValue != null?(eq = $equals_1(thisValue, thatValue)):thisValue == null && thatValue == null && (eq = true);
  }
  return eq;
}

function Text_1(value){
  this.value_0 = value;
}

function Text_0(){
}

_ = Text_1.prototype = Text_0.prototype = new Object_0;
_.equals$ = function equals_4(obj){
  return $equals_0(this, obj);
}
;
_.getClass$ = function getClass_109(){
  return Lcom_google_appengine_api_datastore_Text_2_classLit;
}
;
_.hashCode$ = function hashCode_5(){
  !this.hash_0 && (this.hash_0 = valueOf_1(this.value_0 == null?this.$H || (this.$H = ++sNextHashId):getHashCode_0(this.value_0)));
  return this.hash_0.value_0;
}
;
_.toString$ = function toString_5(){
  return this.value_0;
}
;
_.castableTypeMap$ = {11:1, 31:1, 76:1};
_.hash_0 = null;
_.value_0 = null;
function deserialize_45(reader, instance){
}

function instantiate_45(reader){
  var value;
  value = $getString(reader, reader.results[--reader.index_0]);
  return new Text_1(value);
}

function serialize_42(writer, instance){
  $writeString(writer, instance.value_0);
}

function $cancel(this$static){
  if (!this$static.running) {
    return;
  }
  $remove_11(animations, this$static);
  this$static.onCancel();
  this$static.started = false;
  this$static.running = false;
}

function $run(this$static, duration, startTime){
  $cancel(this$static);
  this$static.running = true;
  this$static.duration = duration;
  this$static.startTime = startTime;
  if ($update(this$static, (new Date).getTime())) {
    return;
  }
  if (!animations) {
    animations = new ArrayList_0;
    animationTimer = new Animation$1_0;
  }
  $add_5(animations, this$static);
  animations.size == 1 && $schedule(animationTimer, 25);
}

function $update(this$static, curTime){
  var finished, progress;
  finished = curTime >= this$static.startTime + this$static.duration;
  if (this$static.started && !finished) {
    progress = (curTime - this$static.startTime) / this$static.duration;
    this$static.onUpdate((1 + Math.cos(3.141592653589793 + progress * 3.141592653589793)) / 2);
    return false;
  }
  if (!this$static.started && curTime >= this$static.startTime) {
    this$static.started = true;
    this$static.onStart();
  }
  if (finished) {
    this$static.onComplete();
    this$static.started = false;
    this$static.running = false;
    return true;
  }
  return false;
}

function updateAnimations(){
  var animation, animation$index, animation$max, curAnimations, curTime;
  curAnimations = initDim(_3Lcom_google_gwt_animation_client_Animation_2_classLit, {31:1, 46:1}, 14, animations.size, 0);
  curAnimations = dynamicCast($toArray(animations, curAnimations), 46);
  curTime = (new Date).getTime();
  for (animation$index = 0 , animation$max = curAnimations.length; animation$index < animation$max; ++animation$index) {
    animation = curAnimations[animation$index];
    animation.running && $update(animation, curTime) && $remove_11(animations, animation);
  }
  animations.size > 0 && $schedule(animationTimer, 25);
}

function Animation(){
}

_ = Animation.prototype = new Object_0;
_.getClass$ = function getClass_110(){
  return Lcom_google_gwt_animation_client_Animation_2_classLit;
}
;
_.onCancel = function onCancel(){
  this.started && this.onComplete();
}
;
_.onComplete = function onComplete(){
  this.onUpdate((1 + Math.cos(6.283185307179586)) / 2);
}
;
_.onStart = function onStart(){
  this.onUpdate((1 + Math.cos(3.141592653589793)) / 2);
}
;
_.castableTypeMap$ = {14:1};
_.duration = -1;
_.running = false;
_.startTime = -1;
_.started = false;
var animationTimer = null, animations = null;
function $clinit_40(){
  $clinit_40 = nullMethod;
  timers = new ArrayList_0;
  addCloseHandler(new Timer$1_0);
}

function $cancel_0(this$static){
  this$static.isRepeating?($wnd.clearInterval(this$static.timerId) , undefined):($wnd.clearTimeout(this$static.timerId) , undefined);
  $remove_11(timers, this$static);
}

function $schedule(this$static, delayMillis){
  if (delayMillis <= 0) {
    throw new IllegalArgumentException_1('must be positive');
  }
  this$static.isRepeating?($wnd.clearInterval(this$static.timerId) , undefined):($wnd.clearTimeout(this$static.timerId) , undefined);
  $remove_11(timers, this$static);
  this$static.isRepeating = false;
  this$static.timerId = createTimeout(this$static, delayMillis);
  $add_5(timers, this$static);
}

function createTimeout(timer, delay){
  return $wnd.setTimeout($entry(function(){
    timer.fire();
  }
  ), delay);
}

function Timer(){
}

_ = Timer.prototype = new Object_0;
_.fire = function fire(){
  this.isRepeating || $remove_11(timers, this);
  this.run();
}
;
_.getClass$ = function getClass_111(){
  return Lcom_google_gwt_user_client_Timer_2_classLit;
}
;
_.castableTypeMap$ = {72:1};
_.isRepeating = false;
_.timerId = 0;
var timers;
function Animation$1_0(){
  $clinit_40();
}

function Animation$1(){
}

_ = Animation$1_0.prototype = Animation$1.prototype = new Timer;
_.getClass$ = function getClass_112(){
  return Lcom_google_gwt_animation_client_Animation$1_2_classLit;
}
;
_.run = function run(){
  updateAnimations();
}
;
_.castableTypeMap$ = {72:1};
function $elapsedMillis(this$static){
  return (new Date).getTime() - this$static.start;
}

function Duration_0(){
  this.start = (new Date).getTime();
}

function Duration(){
}

_ = Duration_0.prototype = Duration.prototype = new Object_0;
_.getClass$ = function getClass_113(){
  return Lcom_google_gwt_core_client_Duration_2_classLit;
}
;
_.castableTypeMap$ = {};
function $initCause(this$static, cause){
  if (this$static.cause) {
    throw new IllegalStateException_1("Can't overwrite cause");
  }
  if (cause == this$static) {
    throw new IllegalArgumentException_1('Self-causation not permitted');
  }
  this$static.cause = cause;
  return this$static;
}

function $setStackTrace(stackTrace){
  var c, copy, i;
  copy = initDim(_3Ljava_lang_StackTraceElement_2_classLit, {31:1}, 41, stackTrace.length, 0);
  for (i = 0 , c = stackTrace.length; i < c; ++i) {
    if (!stackTrace[i]) {
      throw new NullPointerException_0;
    }
    copy[i] = stackTrace[i];
  }
}

function Throwable(){
}

_ = Throwable.prototype = new Object_0;
_.getClass$ = function getClass_114(){
  return Ljava_lang_Throwable_2_classLit;
}
;
_.getMessage = function getMessage(){
  return this.detailMessage;
}
;
_.toString$ = function toString_6(){
  var className, msg;
  return className = this.getClass$().typeName , msg = this.getMessage() , msg != null?className + ': ' + msg:className;
}
;
_.castableTypeMap$ = {31:1, 42:1};
_.cause = null;
_.detailMessage = null;
function Exception(){
}

_ = Exception.prototype = new Throwable;
_.getClass$ = function getClass_115(){
  return Ljava_lang_Exception_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1};
function RuntimeException_0(message){
  $fillInStackTrace();
  this.detailMessage = message;
}

function RuntimeException_1(message, cause){
  $fillInStackTrace();
  this.cause = cause;
  this.detailMessage = message;
}

function RuntimeException(){
}

_ = RuntimeException_0.prototype = RuntimeException.prototype = new Exception;
_.getClass$ = function getClass_116(){
  return Ljava_lang_RuntimeException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function JavaScriptException_0(e){
  $fillInStackTrace();
  this.e = e;
  $createStackTrace(this);
}

function getDescription_0(e){
  return instanceOfJso(e)?getDescription0(dynamicCastJso(e)):e + '';
}

function getDescription0(e){
  return e == null?null:e.message;
}

function getName_38(e){
  return e == null?'null':instanceOfJso(e)?getName0(dynamicCastJso(e)):e != null && e.castableTypeMap$ && !!e.castableTypeMap$[1]?'String':getClass__devirtual$(e).typeName;
}

function getName0(e){
  return e == null?null:e.name;
}

function getProperties(e){
  return instanceOfJso(e)?$getProperties(dynamicCastJso(e)):'';
}

function JavaScriptException(){
}

_ = JavaScriptException_0.prototype = JavaScriptException.prototype = new RuntimeException;
_.getClass$ = function getClass_117(){
  return Lcom_google_gwt_core_client_JavaScriptException_2_classLit;
}
;
_.getMessage = function getMessage_0(){
  return this.message_0 == null && (this.name_0 = getName_38(this.e) , this.description = getDescription_0(this.e) , this.message_0 = '(' + this.name_0 + '): ' + this.description + getProperties(this.e) , undefined) , this.message_0;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1, 65:1};
_.description = null;
_.e = null;
_.message_0 = null;
_.name_0 = null;
function Scheduler(){
}

_ = Scheduler.prototype = new Object_0;
_.getClass$ = function getClass_118(){
  return Lcom_google_gwt_core_client_Scheduler_2_classLit;
}
;
_.castableTypeMap$ = {};
function apply(jsFunction, thisObj, arguments_0){
  return jsFunction.apply(thisObj, arguments_0);
  var __0;
}

function enter(){
  if (entryDepth++ == 0) {
    $flushEntryCommands(($clinit_41() , INSTANCE));
    return true;
  }
  return false;
}

function entry_0(jsFunction){
  return function(){
    try {
      return entry0(jsFunction, this, arguments);
    }
     catch (e) {
      throw e;
    }
  }
  ;
}

function entry0(jsFunction, thisObj, arguments_0){
  var initialEntry;
  initialEntry = enter();
  try {
    return apply(jsFunction, thisObj, arguments_0);
  }
   finally {
    initialEntry && $flushFinallyCommands(($clinit_41() , INSTANCE));
    --entryDepth;
  }
}

function getHashCode(o){
  return o.$H || (o.$H = ++sNextHashId);
}

function getHostPageBaseURL(){
  var s = $doc.location.href;
  var i = s.indexOf('#');
  i != -1 && (s = s.substring(0, i));
  i = s.indexOf('?');
  i != -1 && (s = s.substring(0, i));
  i = s.lastIndexOf('/');
  i != -1 && (s = s.substring(0, i));
  return s.length > 0?s + '/':'';
}

var entryDepth = 0, sNextHashId = 0;
function $clinit_41(){
  $clinit_41 = nullMethod;
  INSTANCE = new SchedulerImpl_0;
}

function $flushEntryCommands(this$static){
  var oldQueue, rescheduled;
  if (this$static.entryCommands) {
    rescheduled = null;
    do {
      oldQueue = this$static.entryCommands;
      this$static.entryCommands = null;
      rescheduled = runScheduledTasks(oldQueue, rescheduled);
    }
     while (this$static.entryCommands);
    this$static.entryCommands = rescheduled;
  }
}

function $flushFinallyCommands(this$static){
  var oldQueue, rescheduled;
  if (this$static.finallyCommands) {
    rescheduled = null;
    do {
      oldQueue = this$static.finallyCommands;
      this$static.finallyCommands = null;
      rescheduled = runScheduledTasks(oldQueue, rescheduled);
    }
     while (this$static.finallyCommands);
    this$static.finallyCommands = rescheduled;
  }
}

function $scheduleFinally(this$static, cmd){
  this$static.finallyCommands = push(this$static.finallyCommands, [cmd, false]);
}

function SchedulerImpl_0(){
}

function execute(cmd){
  return $execute(cmd);
}

function push(queue, task){
  !queue && (queue = []);
  queue[queue.length] = task;
  return queue;
}

function runScheduledTasks(tasks, rescheduled){
  var $e0, i, j, t;
  for (i = 0 , j = tasks.length; i < j; ++i) {
    t = tasks[i];
    try {
      t[1]?$execute(t[0]) && (rescheduled = push(rescheduled, t)):t[0].execute();
    }
     catch ($e0) {
      $e0 = caught_0($e0);
      if (!instanceOf($e0, 47))
        throw $e0;
    }
  }
  return rescheduled;
}

function scheduleFixedDelayImpl(cmd, delayMs){
  $clinit_41();
  $wnd.setTimeout(function(){
    var ret = $entry(execute)(cmd);
    ret && $wnd.setTimeout(arguments.callee, delayMs);
  }
  , delayMs);
}

function SchedulerImpl(){
}

_ = SchedulerImpl_0.prototype = SchedulerImpl.prototype = new Scheduler;
_.getClass$ = function getClass_119(){
  return Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit;
}
;
_.castableTypeMap$ = {};
_.entryCommands = null;
_.finallyCommands = null;
var INSTANCE;
function extractNameFromToString(fnToString){
  var index, start, toReturn;
  toReturn = '';
  fnToString = $trim(fnToString);
  index = fnToString.indexOf('(');
  if (index != -1) {
    start = fnToString.indexOf('function') == 0?8:0;
    toReturn = $trim(fnToString.substr(start, index - start));
  }
  return toReturn.length > 0?toReturn:'anonymous';
}

function splice(arr, length_0){
  arr.length >= length_0 && arr.splice(0, length_0);
  return arr;
}

function $createStackTrace(e){
  var i, j, stack, stackTrace;
  stack = $inferFrom(instanceOfJso(e.e)?dynamicCastJso(e.e):null);
  stackTrace = initDim(_3Ljava_lang_StackTraceElement_2_classLit, {31:1}, 41, stack.length, 0);
  for (i = 0 , j = stackTrace.length; i < j; ++i) {
    stackTrace[i] = new StackTraceElement_0(stack[i]);
  }
  $setStackTrace(stackTrace);
}

function $fillInStackTrace(){
  var i, j, stack, stackTrace;
  stack = splice($inferFrom($makeException()), 2);
  stackTrace = initDim(_3Ljava_lang_StackTraceElement_2_classLit, {31:1}, 41, stack.length, 0);
  for (i = 0 , j = stackTrace.length; i < j; ++i) {
    stackTrace[i] = new StackTraceElement_0(stack[i]);
  }
  $setStackTrace(stackTrace);
}

function $getProperties(e){
  var result = '';
  try {
    for (var prop in e) {
      if (prop != 'name' && prop != 'message' && prop != 'toString') {
        try {
          result += '\n ' + prop + ': ' + e[prop];
        }
         catch (ignored) {
        }
      }
    }
  }
   catch (ignored) {
  }
  return result;
}

function $makeException(){
  try {
    null.a();
  }
   catch (e) {
    return e;
  }
}

function $inferFrom(e){
  var i, j, stack;
  stack = e && e.stack?e.stack.split('\n'):[];
  for (i = 0 , j = stack.length; i < j; ++i) {
    stack[i] = extractNameFromToString(stack[i]);
  }
  return stack;
}

function StringBufferImpl(){
}

_ = StringBufferImpl.prototype = new Object_0;
_.getClass$ = function getClass_120(){
  return Lcom_google_gwt_core_client_impl_StringBufferImpl_2_classLit;
}
;
_.castableTypeMap$ = {};
function $replace(this$static, start, toInsert){
  this$static.string = this$static.string.substr(0, start - 0) + toInsert + $substring(this$static.string, 9);
}

--></script>
<script><!--
function $toString(this$static){
  return this$static.string;
}

function StringBufferImplAppend_0(){
}

function StringBufferImplAppend(){
}

_ = StringBufferImplAppend_0.prototype = StringBufferImplAppend.prototype = new StringBufferImpl;
_.getClass$ = function getClass_121(){
  return Lcom_google_gwt_core_client_impl_StringBufferImplAppend_2_classLit;
}
;
_.castableTypeMap$ = {};
_.string = '';
function $removeFromParent_0(this$static){
  var parent_0;
  parent_0 = $getParentElement(this$static);
  !!parent_0 && parent_0.removeChild(this$static);
}

function is(o){
  try {
    return !!o && !!o.nodeType;
  }
   catch (e) {
    return false;
  }
}

function $addClassName(this$static, className){
  var idx, last, lastPos, oldClassName;
  className = $trim(className);
  oldClassName = this$static.className;
  idx = oldClassName.indexOf(className);
  while (idx != -1) {
    if (idx == 0 || oldClassName.charCodeAt(idx - 1) == 32) {
      last = idx + className.length;
      lastPos = oldClassName.length;
      if (last == lastPos || last < lastPos && oldClassName.charCodeAt(last) == 32) {
        break;
      }
    }
    idx = oldClassName.indexOf(className, idx + 1);
  }
  if (idx == -1) {
    oldClassName.length > 0 && (oldClassName += ' ');
    this$static.className = oldClassName + className;
  }
}

function $getPropertyString(this$static, name_0){
  return this$static[name_0] == null?null:String(this$static[name_0]);
}

function $removeClassName(this$static, className){
  var begin, end, idx, last, lastPos, newClassName, oldStyle;
  className = $trim(className);
  oldStyle = this$static.className;
  idx = oldStyle.indexOf(className);
  while (idx != -1) {
    if (idx == 0 || oldStyle.charCodeAt(idx - 1) == 32) {
      last = idx + className.length;
      lastPos = oldStyle.length;
      if (last == lastPos || last < lastPos && oldStyle.charCodeAt(last) == 32) {
        break;
      }
    }
    idx = oldStyle.indexOf(className, idx + 1);
  }
  if (idx != -1) {
    begin = $trim(oldStyle.substr(0, idx - 0));
    end = $trim($substring(oldStyle, idx + className.length));
    begin.length == 0?(newClassName = end):end.length == 0?(newClassName = begin):(newClassName = begin + ' ' + end);
    this$static.className = newClassName;
  }
}

function is_0(o){
  if (is(o)) {
    return !!o && o.nodeType == 1;
  }
  return false;
}

function $getFirstChildElement(elem){
  var child = elem.firstChild;
  while (child && child.nodeType != 1)
    child = child.nextSibling;
  return child;
}

function $getParentElement(node){
  var parent_0 = node.parentNode;
  (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null);
  return parent_0;
}

function $scrollIntoView(elem){
  var left = elem.offsetLeft, top_0 = elem.offsetTop;
  var width = elem.offsetWidth, height = elem.offsetHeight;
  if (elem.parentNode != elem.offsetParent) {
    left -= elem.parentNode.offsetLeft;
    top_0 -= elem.parentNode.offsetTop;
  }
  var cur = elem.parentNode;
  while (cur && cur.nodeType == 1) {
    left < cur.scrollLeft && (cur.scrollLeft = left);
    left + width > cur.scrollLeft + cur.clientWidth && (cur.scrollLeft = left + width - cur.clientWidth);
    top_0 < cur.scrollTop && (cur.scrollTop = top_0);
    top_0 + height > cur.scrollTop + cur.clientHeight && (cur.scrollTop = top_0 + height - cur.clientHeight);
    var offsetLeft = cur.offsetLeft, offsetTop = cur.offsetTop;
    if (cur.parentNode != cur.offsetParent) {
      offsetLeft -= cur.parentNode.offsetLeft;
      offsetTop -= cur.parentNode.offsetTop;
    }
    left += offsetLeft - cur.scrollLeft;
    top_0 += offsetTop - cur.scrollTop;
    cur = cur.parentNode;
  }
}

function $eventGetButton(evt){
  var button = evt.button;
  if (button == 1) {
    return 4;
  }
   else if (button == 2) {
    return 2;
  }
  return 1;
}

function $buttonClick(button){
  var doc = button.ownerDocument;
  if (doc != null) {
    var evt = doc.createEvent('MouseEvents');
    evt.initMouseEvent('click', true, true, null, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
    button.dispatchEvent(evt);
  }
}

function $eventGetRelatedTarget(evt){
  var relatedTarget = evt.relatedTarget;
  if (!relatedTarget) {
    return null;
  }
  try {
    var nodeName = relatedTarget.nodeName;
    return relatedTarget;
  }
   catch (e) {
    return null;
  }
}

function $getAbsoluteLeft(elem){
  return $getAbsoluteLeftImpl($getViewportElement(elem.ownerDocument), elem);
}

function $getAbsoluteLeftImpl(viewport, elem){
  if (Element.prototype.getBoundingClientRect) {
    return elem.getBoundingClientRect().left + viewport.scrollLeft | 0;
  }
   else {
    var doc = elem.ownerDocument;
    return doc.getBoxObjectFor(elem).screenX - doc.getBoxObjectFor(doc.documentElement).screenX;
  }
}

function $getAbsoluteTop(elem){
  return $getAbsoluteTopImpl($getViewportElement(elem.ownerDocument), elem);
}

function $getAbsoluteTopImpl(viewport, elem){
  if (Element.prototype.getBoundingClientRect) {
    return elem.getBoundingClientRect().top + viewport.scrollTop | 0;
  }
   else {
    var doc = elem.ownerDocument;
    return doc.getBoxObjectFor(elem).screenY - doc.getBoxObjectFor(doc.documentElement).screenY;
  }
}

function $isOrHasChild(parent_0, child){
  return parent_0 === child || !!(parent_0.compareDocumentPosition(child) & 16);
}

function $toString_0(elem){
  var doc = elem.ownerDocument;
  var temp = elem.cloneNode(true);
  var tempDiv = doc.createElement('DIV');
  tempDiv.appendChild(temp);
  outer = tempDiv.innerHTML;
  temp.innerHTML = '';
  return outer;
}

function $createUniqueId(this$static){
  !this$static.gwt_uid && (this$static.gwt_uid = 1);
  return 'gwt-uid-' + this$static.gwt_uid++;
}

function $getClientHeight(this$static){
  return ($equals_1(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientHeight;
}

function $getClientWidth(this$static){
  return ($equals_1(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientWidth;
}

function $getScrollHeight(this$static){
  return ($equals_1(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollHeight || 0;
}

function $getScrollWidth(this$static){
  return ($equals_1(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollWidth || 0;
}

function $getViewportElement(this$static){
  return $equals_1(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body;
}

function $clinit_42(){
  $clinit_42 = nullMethod;
  NONE = new Style$Display$1_0;
  BLOCK = new Style$Display$2_0;
  INLINE = new Style$Display$3_0;
  INLINE_BLOCK = new Style$Display$4_0;
  $VALUES_0 = initValues(_3Lcom_google_gwt_dom_client_Style$Display_2_classLit, {31:1}, 15, [NONE, BLOCK, INLINE, INLINE_BLOCK]);
}

function values_1(){
  $clinit_42();
  return $VALUES_0;
}

function Style$Display(){
}

_ = Style$Display.prototype = new Enum;
_.getClass$ = function getClass_122(){
  return Lcom_google_gwt_dom_client_Style$Display_2_classLit;
}
;
_.castableTypeMap$ = {15:1, 16:1, 31:1, 35:1, 36:1};
var $VALUES_0, BLOCK, INLINE, INLINE_BLOCK, NONE;
function Style$Display$1_0(){
  this.name_0 = 'NONE';
  this.ordinal = 0;
}

function Style$Display$1(){
}

_ = Style$Display$1_0.prototype = Style$Display$1.prototype = new Style$Display;
_.getClass$ = function getClass_123(){
  return Lcom_google_gwt_dom_client_Style$Display$1_2_classLit;
}
;
_.castableTypeMap$ = {15:1, 16:1, 31:1, 35:1, 36:1};
function Style$Display$2_0(){
  this.name_0 = 'BLOCK';
  this.ordinal = 1;
}

function Style$Display$2(){
}

_ = Style$Display$2_0.prototype = Style$Display$2.prototype = new Style$Display;
_.getClass$ = function getClass_124(){
  return Lcom_google_gwt_dom_client_Style$Display$2_2_classLit;
}
;
_.castableTypeMap$ = {15:1, 16:1, 31:1, 35:1, 36:1};
function Style$Display$3_0(){
  this.name_0 = 'INLINE';
  this.ordinal = 2;
}

function Style$Display$3(){
}

_ = Style$Display$3_0.prototype = Style$Display$3.prototype = new Style$Display;
_.getClass$ = function getClass_125(){
  return Lcom_google_gwt_dom_client_Style$Display$3_2_classLit;
}
;
_.castableTypeMap$ = {15:1, 16:1, 31:1, 35:1, 36:1};
function Style$Display$4_0(){
  this.name_0 = 'INLINE_BLOCK';
  this.ordinal = 3;
}

function Style$Display$4(){
}

_ = Style$Display$4_0.prototype = Style$Display$4.prototype = new Style$Display;
_.getClass$ = function getClass_126(){
  return Lcom_google_gwt_dom_client_Style$Display$4_2_classLit;
}
;
_.castableTypeMap$ = {15:1, 16:1, 31:1, 35:1, 36:1};
function $clinit_43(){
  $clinit_43 = nullMethod;
  VISIBLE = new Style$Overflow$1_0;
  HIDDEN = new Style$Overflow$2_0;
  SCROLL = new Style$Overflow$3_0;
  AUTO = new Style$Overflow$4_0;
  $VALUES_1 = initValues(_3Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, {31:1}, 17, [VISIBLE, HIDDEN, SCROLL, AUTO]);
}

function values_2(){
  $clinit_43();
  return $VALUES_1;
}

function Style$Overflow(){
}

_ = Style$Overflow.prototype = new Enum;
_.getClass$ = function getClass_127(){
  return Lcom_google_gwt_dom_client_Style$Overflow_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 17:1, 31:1, 35:1, 36:1};
var $VALUES_1, AUTO, HIDDEN, SCROLL, VISIBLE;
function Style$Overflow$1_0(){
  this.name_0 = 'VISIBLE';
  this.ordinal = 0;
}

function Style$Overflow$1(){
}

_ = Style$Overflow$1_0.prototype = Style$Overflow$1.prototype = new Style$Overflow;
_.getClass$ = function getClass_128(){
  return Lcom_google_gwt_dom_client_Style$Overflow$1_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 17:1, 31:1, 35:1, 36:1};
function Style$Overflow$2_0(){
  this.name_0 = 'HIDDEN';
  this.ordinal = 1;
}

function Style$Overflow$2(){
}

_ = Style$Overflow$2_0.prototype = Style$Overflow$2.prototype = new Style$Overflow;
_.getClass$ = function getClass_129(){
  return Lcom_google_gwt_dom_client_Style$Overflow$2_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 17:1, 31:1, 35:1, 36:1};
function Style$Overflow$3_0(){
  this.name_0 = 'SCROLL';
  this.ordinal = 2;
}

function Style$Overflow$3(){
}

_ = Style$Overflow$3_0.prototype = Style$Overflow$3.prototype = new Style$Overflow;
_.getClass$ = function getClass_130(){
  return Lcom_google_gwt_dom_client_Style$Overflow$3_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 17:1, 31:1, 35:1, 36:1};
function Style$Overflow$4_0(){
  this.name_0 = 'AUTO';
  this.ordinal = 3;
}

function Style$Overflow$4(){
}

_ = Style$Overflow$4_0.prototype = Style$Overflow$4.prototype = new Style$Overflow;
_.getClass$ = function getClass_131(){
  return Lcom_google_gwt_dom_client_Style$Overflow$4_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 17:1, 31:1, 35:1, 36:1};
function $clinit_44(){
  $clinit_44 = nullMethod;
  STATIC = new Style$Position$1_0;
  RELATIVE = new Style$Position$2_0;
  ABSOLUTE = new Style$Position$3_0;
  FIXED = new Style$Position$4_0;
  $VALUES_2 = initValues(_3Lcom_google_gwt_dom_client_Style$Position_2_classLit, {31:1}, 18, [STATIC, RELATIVE, ABSOLUTE, FIXED]);
}

function values_3(){
  $clinit_44();
  return $VALUES_2;
}

function Style$Position(){
}

_ = Style$Position.prototype = new Enum;
_.getClass$ = function getClass_132(){
  return Lcom_google_gwt_dom_client_Style$Position_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 18:1, 31:1, 35:1, 36:1};
var $VALUES_2, ABSOLUTE, FIXED, RELATIVE, STATIC;
function Style$Position$1_0(){
  this.name_0 = 'STATIC';
  this.ordinal = 0;
}

function Style$Position$1(){
}

_ = Style$Position$1_0.prototype = Style$Position$1.prototype = new Style$Position;
_.getClass$ = function getClass_133(){
  return Lcom_google_gwt_dom_client_Style$Position$1_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 18:1, 31:1, 35:1, 36:1};
function Style$Position$2_0(){
  this.name_0 = 'RELATIVE';
  this.ordinal = 1;
}

function Style$Position$2(){
}

_ = Style$Position$2_0.prototype = Style$Position$2.prototype = new Style$Position;
_.getClass$ = function getClass_134(){
  return Lcom_google_gwt_dom_client_Style$Position$2_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 18:1, 31:1, 35:1, 36:1};
function Style$Position$3_0(){
  this.name_0 = 'ABSOLUTE';
  this.ordinal = 2;
}

function Style$Position$3(){
}

_ = Style$Position$3_0.prototype = Style$Position$3.prototype = new Style$Position;
_.getClass$ = function getClass_135(){
  return Lcom_google_gwt_dom_client_Style$Position$3_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 18:1, 31:1, 35:1, 36:1};
function Style$Position$4_0(){
  this.name_0 = 'FIXED';
  this.ordinal = 3;
}

function Style$Position$4(){
}

_ = Style$Position$4_0.prototype = Style$Position$4.prototype = new Style$Position;
_.getClass$ = function getClass_136(){
  return Lcom_google_gwt_dom_client_Style$Position$4_2_classLit;
}
;
_.castableTypeMap$ = {16:1, 18:1, 31:1, 35:1, 36:1};
function $clinit_45(){
  $clinit_45 = nullMethod;
  PX = new Style$Unit$1_0;
  PCT = new Style$Unit$2_0;
  EM = new Style$Unit$3_0;
  EX = new Style$Unit$4_0;
  PT = new Style$Unit$5_0;
  PC = new Style$Unit$6_0;
  IN = new Style$Unit$7_0;
  CM = new Style$Unit$8_0;
  MM = new Style$Unit$9_0;
  $VALUES_3 = initValues(_3Lcom_google_gwt_dom_client_Style$Unit_2_classLit, {31:1}, 19, [PX, PCT, EM, EX, PT, PC, IN, CM, MM]);
}

function values_4(){
  $clinit_45();
  return $VALUES_3;
}

function Style$Unit(){
}

_ = Style$Unit.prototype = new Enum;
_.getClass$ = function getClass_137(){
  return Lcom_google_gwt_dom_client_Style$Unit_2_classLit;
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
var $VALUES_3, CM, EM, EX, IN, MM, PC, PCT, PT, PX;
function Style$Unit$1_0(){
  this.name_0 = 'PX';
  this.ordinal = 0;
}

function Style$Unit$1(){
}

_ = Style$Unit$1_0.prototype = Style$Unit$1.prototype = new Style$Unit;
_.getClass$ = function getClass_138(){
  return Lcom_google_gwt_dom_client_Style$Unit$1_2_classLit;
}
;
_.getType = function getType(){
  return 'px';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$2_0(){
  this.name_0 = 'PCT';
  this.ordinal = 1;
}

function Style$Unit$2(){
}

_ = Style$Unit$2_0.prototype = Style$Unit$2.prototype = new Style$Unit;
_.getClass$ = function getClass_139(){
  return Lcom_google_gwt_dom_client_Style$Unit$2_2_classLit;
}
;
_.getType = function getType_0(){
  return '%';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$3_0(){
  this.name_0 = 'EM';
  this.ordinal = 2;
}

function Style$Unit$3(){
}

_ = Style$Unit$3_0.prototype = Style$Unit$3.prototype = new Style$Unit;
_.getClass$ = function getClass_140(){
  return Lcom_google_gwt_dom_client_Style$Unit$3_2_classLit;
}
;
_.getType = function getType_1(){
  return 'em';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$4_0(){
  this.name_0 = 'EX';
  this.ordinal = 3;
}

function Style$Unit$4(){
}

_ = Style$Unit$4_0.prototype = Style$Unit$4.prototype = new Style$Unit;
_.getClass$ = function getClass_141(){
  return Lcom_google_gwt_dom_client_Style$Unit$4_2_classLit;
}
;
_.getType = function getType_2(){
  return 'ex';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$5_0(){
  this.name_0 = 'PT';
  this.ordinal = 4;
}

function Style$Unit$5(){
}

_ = Style$Unit$5_0.prototype = Style$Unit$5.prototype = new Style$Unit;
_.getClass$ = function getClass_142(){
  return Lcom_google_gwt_dom_client_Style$Unit$5_2_classLit;
}
;
_.getType = function getType_3(){
  return 'pt';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$6_0(){
  this.name_0 = 'PC';
  this.ordinal = 5;
}

function Style$Unit$6(){
}

_ = Style$Unit$6_0.prototype = Style$Unit$6.prototype = new Style$Unit;
_.getClass$ = function getClass_143(){
  return Lcom_google_gwt_dom_client_Style$Unit$6_2_classLit;
}
;
_.getType = function getType_4(){
  return 'pc';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$7_0(){
  this.name_0 = 'IN';
  this.ordinal = 6;
}

function Style$Unit$7(){
}

_ = Style$Unit$7_0.prototype = Style$Unit$7.prototype = new Style$Unit;
_.getClass$ = function getClass_144(){
  return Lcom_google_gwt_dom_client_Style$Unit$7_2_classLit;
}
;
_.getType = function getType_5(){
  return 'in';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$8_0(){
  this.name_0 = 'CM';
  this.ordinal = 7;
}

function Style$Unit$8(){
}

_ = Style$Unit$8_0.prototype = Style$Unit$8.prototype = new Style$Unit;
_.getClass$ = function getClass_145(){
  return Lcom_google_gwt_dom_client_Style$Unit$8_2_classLit;
}
;
_.getType = function getType_6(){
  return 'cm';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Style$Unit$9_0(){
  this.name_0 = 'MM';
  this.ordinal = 8;
}

function Style$Unit$9(){
}

_ = Style$Unit$9_0.prototype = Style$Unit$9.prototype = new Style$Unit;
_.getClass$ = function getClass_146(){
  return Lcom_google_gwt_dom_client_Style$Unit$9_2_classLit;
}
;
_.getType = function getType_7(){
  return 'mm';
}
;
_.castableTypeMap$ = {19:1, 31:1, 35:1, 36:1};
function Event_0(){
}

_ = Event_0.prototype = new Object_0;
_.getClass$ = function getClass_147(){
  return Lcom_google_web_bindery_event_shared_Event_2_classLit;
}
;
_.toString$ = function toString_7(){
  return 'An event type';
}
;
_.castableTypeMap$ = {};
_.source = null;
function GwtEvent(){
}

_ = GwtEvent.prototype = new Event_0;
_.getClass$ = function getClass_148(){
  return Lcom_google_gwt_event_shared_GwtEvent_2_classLit;
}
;
_.revive = function revive(){
  this.dead = false;
  this.source = null;
}
;
_.castableTypeMap$ = {};
_.dead = false;
function fireNativeEvent(nativeEvent, handlerSource, relativeElem){
  var currentNative, currentRelativeElem, typeKey;
  if (registered) {
    typeKey = dynamicCast(registered.map[nativeEvent.type], 50);
    if (typeKey) {
      currentNative = typeKey.flyweight.nativeEvent;
      currentRelativeElem = typeKey.flyweight.relativeElem;
      typeKey.flyweight.nativeEvent = nativeEvent;
      typeKey.flyweight.relativeElem = relativeElem;
      $fireEvent(handlerSource, typeKey.flyweight);
      typeKey.flyweight.nativeEvent = currentNative;
      typeKey.flyweight.relativeElem = currentRelativeElem;
    }
  }
}

function DomEvent(){
}

_ = DomEvent.prototype = new GwtEvent;
_.getAssociatedType = function getAssociatedType(){
  return this.getAssociatedType_0();
}
;
_.getClass$ = function getClass_149(){
  return Lcom_google_gwt_event_dom_client_DomEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
_.nativeEvent = null;
_.relativeElem = null;
var registered = null;
function $clinit_46(){
  $clinit_46 = nullMethod;
  TYPE = new DomEvent$Type_0('change', new ChangeEvent_0);
}

function $dispatch(handler){
  $setTextOrHtml(handler.val$descriptionsLabel.directionalTextHelper, getDescription(handler.val$comboBox_1.element.selectedIndex), true);
}

function ChangeEvent_0(){
}

function ChangeEvent(){
}

_ = ChangeEvent_0.prototype = ChangeEvent.prototype = new DomEvent;
_.dispatch = function dispatch(handler){
  $dispatch(dynamicCast(handler, 48));
}
;
_.getAssociatedType_0 = function getAssociatedType_0(){
  return TYPE;
}
;
_.getClass$ = function getClass_150(){
  return Lcom_google_gwt_event_dom_client_ChangeEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE;
function HumanInputEvent(){
}

_ = HumanInputEvent.prototype = new DomEvent;
_.getClass$ = function getClass_151(){
  return Lcom_google_gwt_event_dom_client_HumanInputEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
function MouseEvent_0(){
}

_ = MouseEvent_0.prototype = new HumanInputEvent;
_.getClass$ = function getClass_152(){
  return Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
function $clinit_47(){
  $clinit_47 = nullMethod;
  TYPE_0 = new DomEvent$Type_0('click', new ClickEvent_0);
}

function ClickEvent_0(){
}

function ClickEvent(){
}

_ = ClickEvent_0.prototype = ClickEvent.prototype = new MouseEvent_0;
_.dispatch = function dispatch_0(handler){
  dynamicCast(handler, 49).onClick(this);
}
;
_.getAssociatedType_0 = function getAssociatedType_1(){
  return TYPE_0;
}
;
_.getClass$ = function getClass_153(){
  return Lcom_google_gwt_event_dom_client_ClickEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_0;
function Event$Type(){
}

_ = Event$Type.prototype = new Object_0;
_.getClass$ = function getClass_154(){
  return Lcom_google_web_bindery_event_shared_Event$Type_2_classLit;
}
;
_.hashCode$ = function hashCode_6(){
  return this.index_0;
}
;
_.toString$ = function toString_8(){
  return 'Event type';
}
;
_.castableTypeMap$ = {};
_.index_0 = 0;
var nextHashCode = 0;
function GwtEvent$Type_0(){
  this.index_0 = ++nextHashCode;
}

function GwtEvent$Type(){
}

_ = GwtEvent$Type_0.prototype = GwtEvent$Type.prototype = new Event$Type;
_.getClass$ = function getClass_155(){
  return Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit;
}
;
_.castableTypeMap$ = {};
function DomEvent$Type_0(eventName, flyweight){
  this.index_0 = ++nextHashCode;
  this.flyweight = flyweight;
  !registered && (registered = new PrivateMap_0);
  registered.map[eventName] = this;
  this.name_0 = eventName;
}

function DomEvent$Type(){
}

_ = DomEvent$Type_0.prototype = DomEvent$Type.prototype = new GwtEvent$Type;
_.getClass$ = function getClass_156(){
  return Lcom_google_gwt_event_dom_client_DomEvent$Type_2_classLit;
}
;
_.castableTypeMap$ = {50:1};
_.flyweight = null;
_.name_0 = null;
function KeyEvent_0(){
}

_ = KeyEvent_0.prototype = new DomEvent;
_.getClass$ = function getClass_157(){
  return Lcom_google_gwt_event_dom_client_KeyEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
function KeyCodeEvent(){
}

_ = KeyCodeEvent.prototype = new KeyEvent_0;
_.getClass$ = function getClass_158(){
  return Lcom_google_gwt_event_dom_client_KeyCodeEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
function $clinit_48(){
  $clinit_48 = nullMethod;
  TYPE_1 = new DomEvent$Type_0('keyup', new KeyUpEvent_0);
}

function KeyUpEvent_0(){
}

function KeyUpEvent(){
}

_ = KeyUpEvent_0.prototype = KeyUpEvent.prototype = new KeyCodeEvent;
_.dispatch = function dispatch_1(handler){
  dynamicCast(handler, 51).onKeyUp(this);
}
;
_.getAssociatedType_0 = function getAssociatedType_2(){
  return TYPE_1;
}
;
_.getClass$ = function getClass_159(){
  return Lcom_google_gwt_event_dom_client_KeyUpEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_1;
function PrivateMap_0(){
  this.map = {};
}

function PrivateMap(){
}

_ = PrivateMap_0.prototype = PrivateMap.prototype = new Object_0;
_.getClass$ = function getClass_160(){
  return Lcom_google_gwt_event_dom_client_PrivateMap_2_classLit;
}
;
_.castableTypeMap$ = {};
_.map = null;
function TouchEvent(){
}

_ = TouchEvent.prototype = new HumanInputEvent;
_.getClass$ = function getClass_161(){
  return Lcom_google_gwt_event_dom_client_TouchEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var impl = null;
function $clinit_49(){
  $clinit_49 = nullMethod;
  TYPE_2 = new DomEvent$Type_0('touchcancel', new TouchCancelEvent_0);
}

function TouchCancelEvent_0(){
}

function TouchCancelEvent(){
}

_ = TouchCancelEvent_0.prototype = TouchCancelEvent.prototype = new TouchEvent;
_.dispatch = function dispatch_2(handler){
  $onTouchEnd(dynamicCast(dynamicCast(handler, 52), 53).this$0);
}
;
_.getAssociatedType_0 = function getAssociatedType_3(){
  return TYPE_2;
}
;
_.getClass$ = function getClass_162(){
  return Lcom_google_gwt_event_dom_client_TouchCancelEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_2;
function $clinit_50(){
  $clinit_50 = nullMethod;
  TYPE_3 = new DomEvent$Type_0('touchend', new TouchEndEvent_0);
}

function TouchEndEvent_0(){
}

function TouchEndEvent(){
}

_ = TouchEndEvent_0.prototype = TouchEndEvent.prototype = new TouchEvent;
_.dispatch = function dispatch_3(handler){
  $onTouchEnd(dynamicCast(dynamicCast(handler, 54), 55).this$0);
}
;
_.getAssociatedType_0 = function getAssociatedType_4(){
  return TYPE_3;
}
;
_.getClass$ = function getClass_163(){
  return Lcom_google_gwt_event_dom_client_TouchEndEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_3;
function TouchEvent$TouchSupportDetector_0(){
  var elem;
  this.isSupported = (elem = document.createElement('div') , elem.setAttribute('ontouchstart', 'return;') , typeof elem.ontouchstart == 'function');
}

function TouchEvent$TouchSupportDetector(){
}

_ = TouchEvent$TouchSupportDetector_0.prototype = TouchEvent$TouchSupportDetector.prototype = new Object_0;
_.getClass$ = function getClass_164(){
  return Lcom_google_gwt_event_dom_client_TouchEvent$TouchSupportDetector_2_classLit;
}
;
_.castableTypeMap$ = {};
function $clinit_51(){
  $clinit_51 = nullMethod;
  TYPE_4 = new DomEvent$Type_0('touchmove', new TouchMoveEvent_0);
}

function TouchMoveEvent_0(){
}

function TouchMoveEvent(){
}

_ = TouchMoveEvent_0.prototype = TouchMoveEvent.prototype = new TouchEvent;
_.dispatch = function dispatch_4(handler){
  $onTouchMove(dynamicCast(handler, 56).this$0, this);
}
;
_.getAssociatedType_0 = function getAssociatedType_5(){
  return TYPE_4;
}
;
_.getClass$ = function getClass_165(){
  return Lcom_google_gwt_event_dom_client_TouchMoveEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_4;
function $clinit_52(){
  $clinit_52 = nullMethod;
  TYPE_5 = new DomEvent$Type_0('touchstart', new TouchStartEvent_0);
}

function TouchStartEvent_0(){
}

function TouchStartEvent(){
}

_ = TouchStartEvent_0.prototype = TouchStartEvent.prototype = new TouchEvent;
_.dispatch = function dispatch_5(handler){
  $onTouchStart(dynamicCast(handler, 57).this$0, this);
}
;
_.getAssociatedType_0 = function getAssociatedType_6(){
  return TYPE_5;
}
;
_.getClass$ = function getClass_166(){
  return Lcom_google_gwt_event_dom_client_TouchStartEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_5;
function $dispatch_0(this$static, handler){
  var event_0;
  (event_0 = fire_0(handler.listener, valueOf_1((dynamicCast(this$static.source, 58) , this$static.item.value_0))) , !event_0 || !event_0.canceled) || (this$static.canceled = true);
}

function BeforeSelectionEvent_0(){
}

function fire_0(source, item){
  var event_0;
  if (TYPE_6) {
    event_0 = new BeforeSelectionEvent_0;
    event_0.item = item;
    source.fireEvent(event_0);
    return event_0;
  }
  return null;
}

function BeforeSelectionEvent(){
}

_ = BeforeSelectionEvent_0.prototype = BeforeSelectionEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_6(handler){
  $dispatch_0(this, dynamicCast(handler, 59));
}
;
_.getAssociatedType = function getAssociatedType_7(){
  return TYPE_6;
}
;
_.getClass$ = function getClass_167(){
  return Lcom_google_gwt_event_logical_shared_BeforeSelectionEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
_.canceled = false;
_.item = null;
var TYPE_6 = null;
function CloseEvent_0(){
}

function fire_1(source){
  var event_0;
  if (TYPE_7) {
    event_0 = new CloseEvent_0;
    source.fireEvent(event_0);
  }
}

function CloseEvent(){
}

_ = CloseEvent_0.prototype = CloseEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_7(handler){
  dynamicCast(handler, 60).onClose(this);
}
;
_.getAssociatedType = function getAssociatedType_8(){
  return TYPE_7;
}
;
_.getClass$ = function getClass_168(){
  return Lcom_google_gwt_event_logical_shared_CloseEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_7 = null;
function ResizeEvent_0(height){
  this.height_0 = height;
}

function fire_2(source, height){
  var event_0;
  if (TYPE_8) {
    event_0 = new ResizeEvent_0(height);
    $fireEvent_0(source, event_0);
  }
}

function ResizeEvent(){
}

_ = ResizeEvent_0.prototype = ResizeEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_8(handler){
  dynamicCast(handler, 61).onResize(this);
}
;
_.getAssociatedType = function getAssociatedType_9(){
  return TYPE_8;
}
;
_.getClass$ = function getClass_169(){
  return Lcom_google_gwt_event_logical_shared_ResizeEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
_.height_0 = 0;
var TYPE_8 = null;
function SelectionEvent_0(selectedItem){
  this.selectedItem = selectedItem;
}

function fire_3(source, selectedItem){
  var event_0;
  if (TYPE_9) {
    event_0 = new SelectionEvent_0(selectedItem);
    source.fireEvent(event_0);
  }
}

function SelectionEvent(){
}

_ = SelectionEvent_0.prototype = SelectionEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_9(handler){
  dynamicCast(handler, 62).onSelection(this);
}
;
_.getAssociatedType = function getAssociatedType_10(){
  return TYPE_9;
}
;
_.getClass$ = function getClass_170(){
  return Lcom_google_gwt_event_logical_shared_SelectionEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
_.selectedItem = null;
var TYPE_9 = null;
function ValueChangeEvent_0(value){
  this.value_0 = value;
}

function fire_4(source, value){
  var event_0;
  if (TYPE_10) {
    event_0 = new ValueChangeEvent_0(value);
    source.fireEvent(event_0);
  }
}

function ValueChangeEvent(){
}

_ = ValueChangeEvent_0.prototype = ValueChangeEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_10(handler){
  dynamicCast(handler, 63).onValueChange(this);
}
;
_.getAssociatedType = function getAssociatedType_11(){
  return TYPE_10;
}
;
_.getClass$ = function getClass_171(){
  return Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
_.value_0 = null;
var TYPE_10 = null;
function $fireEvent_0(this$static, event_0){
  var $e0, e, oldSource;
  !event_0.dead || event_0.revive();
  oldSource = event_0.source;
  event_0.source = this$static.source;
  try {
    $doFire(this$static.eventBus, event_0);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 64)) {
      e = $e0;
      throw new UmbrellaException_2(e.causes);
    }
     else 
      throw $e0;
  }
   finally {
    oldSource == null?(event_0.dead = true , event_0.source = null):(event_0.source = oldSource);
  }
}

function HandlerManager_0(source){
  this.eventBus = new HandlerManager$Bus_0(false);
  this.source = source;
}

function HandlerManager_1(source, fireInReverseOrder){
  this.eventBus = new HandlerManager$Bus_0(fireInReverseOrder);
  this.source = source;
}

function HandlerManager(){
}

--></script>
<script><!--
_ = HandlerManager_1.prototype = HandlerManager_0.prototype = HandlerManager.prototype = new Object_0;
_.fireEvent = function fireEvent_0(event_0){
  $fireEvent_0(this, event_0);
}
;
_.getClass$ = function getClass_172(){
  return Lcom_google_gwt_event_shared_HandlerManager_2_classLit;
}
;
_.castableTypeMap$ = {21:1};
_.eventBus = null;
_.source = null;
function EventBus(){
}

_ = EventBus.prototype = new Object_0;
_.getClass$ = function getClass_173(){
  return Lcom_google_web_bindery_event_shared_EventBus_2_classLit;
}
;
_.castableTypeMap$ = {};
function $defer(this$static, command){
  !this$static.deferredDeltas && (this$static.deferredDeltas = new ArrayList_0);
  $add_5(this$static.deferredDeltas, command);
}

function $doAdd(this$static, type, handler){
  var l_0;
  if (!type) {
    throw new NullPointerException_1('Cannot add a handler with a null type');
  }
  if (!handler) {
    throw new NullPointerException_1('Cannot add a null handler');
  }
  this$static.firingDepth > 0?$defer(this$static, new SimpleEventBus$2_0(this$static, type, handler)):(l_0 = $ensureHandlerList(this$static, type, null) , l_0.add_1(handler) , undefined);
  return new SimpleEventBus$1_0(this$static, type, handler);
}

function $doAddNow(this$static, type, source, handler){
  var l_0;
  l_0 = $ensureHandlerList(this$static, type, source);
  l_0.add_1(handler);
}

function $doFire(this$static, event_0){
  var $e0, causes, e, handler, handlers, it, old;
  if (!event_0) {
    throw new NullPointerException_1('Cannot fire null event');
  }
  try {
    ++this$static.firingDepth;
    handlers = $getHandlerList(this$static, event_0.getAssociatedType(), null);
    causes = null;
    it = this$static.isReverseOrder?handlers.listIterator_0(handlers.size_0()):handlers.listIterator();
    while (this$static.isReverseOrder?it.i > 0:it.i < it.this$0_0.size_0()) {
      handler = this$static.isReverseOrder?$previous(it):$next_3(it);
      try {
        event_0.dispatch(dynamicCast(handler, 78));
      }
       catch ($e0) {
        $e0 = caught_0($e0);
        if (instanceOf($e0, 42)) {
          e = $e0;
          !causes && (causes = new HashSet_0);
          old = causes.map.put(e, causes);
        }
         else 
          throw $e0;
      }
    }
    if (causes) {
      throw new UmbrellaException_1(causes);
    }
  }
   finally {
    --this$static.firingDepth;
    this$static.firingDepth == 0 && $handleQueuedAddsAndRemoves(this$static);
  }
}

function $doRemoveNow(this$static, type, source, handler){
  var l_0, removed;
  l_0 = $getHandlerList(this$static, type, source);
  removed = l_0.remove_1(handler);
  removed && l_0.isEmpty() && $prune(this$static, type, source);
}

function $ensureHandlerList(this$static, type, source){
  var handlers, sourceMap;
  sourceMap = dynamicCast(this$static.map.get(type), 79);
  if (!sourceMap) {
    sourceMap = new HashMap_0;
    this$static.map.put(type, sourceMap);
  }
  handlers = dynamicCast(sourceMap.get(source), 80);
  if (!handlers) {
    handlers = new ArrayList_0;
    sourceMap.put(source, handlers);
  }
  return handlers;
}

function $getHandlerList(this$static, type, source){
  var handlers, sourceMap;
  sourceMap = dynamicCast(this$static.map.get(type), 79);
  if (!sourceMap) {
    return $clinit_85() , $clinit_85() , EMPTY_LIST;
  }
  handlers = dynamicCast(sourceMap.get(source), 80);
  if (!handlers) {
    return $clinit_85() , $clinit_85() , EMPTY_LIST;
  }
  return handlers;
}

function $handleQueuedAddsAndRemoves(this$static){
  var c, c$iterator;
  if (this$static.deferredDeltas) {
    try {
      for (c$iterator = new AbstractList$IteratorImpl_0(this$static.deferredDeltas); c$iterator.i < c$iterator.this$0_0.size_0();) {
        c = dynamicCast($next_3(c$iterator), 81);
        c.execute();
      }
    }
     finally {
      this$static.deferredDeltas = null;
    }
  }
}

function $prune(this$static, type, source){
  var sourceMap;
  sourceMap = dynamicCast(this$static.map.get(type), 79);
  dynamicCast(sourceMap.remove_2(source), 80);
  sourceMap.isEmpty() && this$static.map.remove_2(type);
}

function SimpleEventBus(){
}

_ = SimpleEventBus.prototype = new EventBus;
_.doRemove = function doRemove(type, source, handler){
  var l_0, removed;
  this.firingDepth > 0?$defer(this, new SimpleEventBus$3_0(this, type, source, handler)):(l_0 = $getHandlerList(this, type, source) , removed = l_0.remove_1(handler) , removed && l_0.isEmpty() && $prune(this, type, source) , undefined);
}
;
_.getClass$ = function getClass_174(){
  return Lcom_google_web_bindery_event_shared_SimpleEventBus_2_classLit;
}
;
_.castableTypeMap$ = {};
_.deferredDeltas = null;
_.firingDepth = 0;
_.isReverseOrder = false;
function HandlerManager$Bus_0(fireInReverseOrder){
  this.map = new HashMap_0;
  this.isReverseOrder = fireInReverseOrder;
}

function HandlerManager$Bus(){
}

_ = HandlerManager$Bus_0.prototype = HandlerManager$Bus.prototype = new SimpleEventBus;
_.doRemove = function doRemove_0(type, source, handler){
  var l_0, removed;
  this.firingDepth > 0?$defer(this, new SimpleEventBus$3_0(this, type, source, handler)):(l_0 = $getHandlerList(this, type, source) , removed = l_0.remove_1(handler) , removed && l_0.isEmpty() && $prune(this, type, source) , undefined);
}
;
_.getClass$ = function getClass_175(){
  return Lcom_google_gwt_event_shared_HandlerManager$Bus_2_classLit;
}
;
_.castableTypeMap$ = {};
function LegacyHandlerWrapper_0(real){
  this.real = real;
}

function LegacyHandlerWrapper(){
}

_ = LegacyHandlerWrapper_0.prototype = LegacyHandlerWrapper.prototype = new Object_0;
_.getClass$ = function getClass_176(){
  return Lcom_google_gwt_event_shared_LegacyHandlerWrapper_2_classLit;
}
;
_.castableTypeMap$ = {69:1};
_.real = null;
function UmbrellaException_1(causes){
  RuntimeException_1.call(this, 'One or more exceptions caught, see full set in UmbrellaException#getCauses', causes.size_0() == 0?null:dynamicCast(causes.toArray_0(initDim(_3Ljava_lang_Throwable_2_classLit, {31:1, 82:1}, 42, 0, 0)), 82)[0]);
  this.causes = causes;
}

function UmbrellaException_0(){
}

_ = UmbrellaException_1.prototype = UmbrellaException_0.prototype = new RuntimeException;
_.getClass$ = function getClass_177(){
  return Lcom_google_web_bindery_event_shared_UmbrellaException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1, 64:1};
_.causes = null;
function UmbrellaException_2(causes){
  UmbrellaException_1.call(this, causes);
}

function UmbrellaException(){
}

_ = UmbrellaException_2.prototype = UmbrellaException.prototype = new UmbrellaException_0;
_.getClass$ = function getClass_178(){
  return Lcom_google_gwt_event_shared_UmbrellaException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1, 64:1};
function $cancel_1(this$static){
  var xmlHttp;
  if (this$static.xmlHttpRequest) {
    xmlHttp = this$static.xmlHttpRequest;
    this$static.xmlHttpRequest = null;
    $clearOnReadyStateChange(xmlHttp);
    xmlHttp.abort();
    !!this$static.timer && $cancel_0(this$static.timer);
  }
}

function $fireOnResponseReceived(this$static, callback){
  var errorMsg, exception, response, xhr;
  if (!this$static.xmlHttpRequest) {
    return;
  }
  !!this$static.timer && $cancel_0(this$static.timer);
  xhr = this$static.xmlHttpRequest;
  this$static.xmlHttpRequest = null;
  errorMsg = $getBrowserSpecificFailure(xhr);
  if (errorMsg != null) {
    exception = new RuntimeException_0(errorMsg);
    callback.callback.onFailure(exception);
  }
   else {
    response = new Request$1_0(xhr);
    $onResponseReceived(callback, response);
  }
}

function $fireOnTimeout(this$static, callback){
  if (!this$static.xmlHttpRequest) {
    return;
  }
  $cancel_1(this$static);
  callback.callback.onFailure(new RequestTimeoutException_0(this$static.timeoutMillis));
}

function $getBrowserSpecificFailure(xhr){
  try {
    if (xhr.status === undefined) {
      return 'XmlHttpRequest.status == undefined, please see Safari bug http://bugs.webkit.org/show_bug.cgi?id=3810 for more details';
    }
    return null;
  }
   catch (e) {
    return 'Unable to read XmlHttpRequest.status; likely causes are a networking error or bad cross-domain request. Please see https://bugzilla.mozilla.org/show_bug.cgi?id=238559 for more details';
  }
}

function Request_0(xmlHttpRequest, timeoutMillis, callback){
  if (!xmlHttpRequest) {
    throw new NullPointerException_0;
  }
  if (!callback) {
    throw new NullPointerException_0;
  }
  if (timeoutMillis < 0) {
    throw new IllegalArgumentException_0;
  }
  this.timeoutMillis = timeoutMillis;
  this.xmlHttpRequest = xmlHttpRequest;
  if (timeoutMillis > 0) {
    this.timer = new Request$3_0(this, callback);
    $schedule(this.timer, timeoutMillis);
  }
   else {
    this.timer = null;
  }
}

function Request(){
}

_ = Request_0.prototype = Request.prototype = new Object_0;
_.getClass$ = function getClass_179(){
  return Lcom_google_gwt_http_client_Request_2_classLit;
}
;
_.castableTypeMap$ = {};
_.timeoutMillis = 0;
_.timer = null;
_.xmlHttpRequest = null;
function Response(){
}

_ = Response.prototype = new Object_0;
_.getClass$ = function getClass_180(){
  return Lcom_google_gwt_http_client_Response_2_classLit;
}
;
_.castableTypeMap$ = {};
function Request$1_0(val$xmlHttpRequest){
  this.val$xmlHttpRequest = val$xmlHttpRequest;
}

function Request$1(){
}

_ = Request$1_0.prototype = Request$1.prototype = new Response;
_.getClass$ = function getClass_181(){
  return Lcom_google_gwt_http_client_Request$1_2_classLit;
}
;
_.castableTypeMap$ = {};
_.val$xmlHttpRequest = null;
function Request$3_0(this$0, val$callback){
  $clinit_40();
  this.this$0 = this$0;
  this.val$callback = val$callback;
}

function Request$3(){
}

_ = Request$3_0.prototype = Request$3.prototype = new Timer;
_.getClass$ = function getClass_182(){
  return Lcom_google_gwt_http_client_Request$3_2_classLit;
}
;
_.run = function run_0(){
  $fireOnTimeout(this.this$0, this.val$callback);
}
;
_.castableTypeMap$ = {72:1};
_.this$0 = null;
_.val$callback = null;
function $clinit_53(){
  $clinit_53 = nullMethod;
  new RequestBuilder$Method_0('DELETE');
  new RequestBuilder$Method_0('GET');
  new RequestBuilder$Method_0('HEAD');
  POST = new RequestBuilder$Method_0('POST');
  new RequestBuilder$Method_0('PUT');
}

function $doSend(this$static, requestData, callback){
  var $e0, e, request, requestPermissionException, xmlHttpRequest;
  xmlHttpRequest = create_2();
  try {
    xmlHttpRequest.open(this$static.httpMethod, this$static.url, true);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 65)) {
      e = $e0;
      requestPermissionException = new RequestPermissionException_0(this$static.url);
      $initCause(requestPermissionException, new RequestException_0(e.getMessage()));
      throw requestPermissionException;
    }
     else 
      throw $e0;
  }
  $setHeaders(this$static, xmlHttpRequest);
  request = new Request_0(xmlHttpRequest, this$static.timeoutMillis, callback);
  $setOnReadyStateChange(xmlHttpRequest, new RequestBuilder$1_0(request, callback));
  try {
    xmlHttpRequest.send(requestData);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 65)) {
      e = $e0;
      throw new RequestException_0(e.getMessage());
    }
     else 
      throw $e0;
  }
  return request;
}

function $setHeader(this$static, header, value){
  throwIfEmptyOrNull('header', header);
  throwIfEmptyOrNull('value', value);
  !this$static.headers && (this$static.headers = new HashMap_0);
  this$static.headers.put(header, value);
}

function $setHeaders(this$static, xmlHttpRequest){
  var $e0, e, header, header$iterator;
  if (!!this$static.headers && this$static.headers.size_0() > 0) {
    for (header$iterator = this$static.headers.entrySet().iterator_0(); header$iterator.hasNext();) {
      header = dynamicCast(header$iterator.next_0(), 66);
      try {
        xmlHttpRequest.setRequestHeader(dynamicCast(header.getKey(), 1), dynamicCast(header.getValue(), 1));
      }
       catch ($e0) {
        $e0 = caught_0($e0);
        if (instanceOf($e0, 65)) {
          e = $e0;
          throw new RequestException_0(e.getMessage());
        }
         else 
          throw $e0;
      }
    }
  }
   else {
    xmlHttpRequest.setRequestHeader('Content-Type', 'text/plain; charset=utf-8');
  }
}

function RequestBuilder_0(httpMethod, url){
  $clinit_53();
  RequestBuilder_1.call(this, !httpMethod?null:httpMethod.name_0, url);
}

function RequestBuilder_1(httpMethod, url){
  throwIfEmptyOrNull('httpMethod', httpMethod);
  throwIfEmptyOrNull('url', url);
  this.httpMethod = httpMethod;
  this.url = url;
}

function RequestBuilder(){
}

_ = RequestBuilder_0.prototype = RequestBuilder.prototype = new Object_0;
_.getClass$ = function getClass_183(){
  return Lcom_google_gwt_http_client_RequestBuilder_2_classLit;
}
;
_.castableTypeMap$ = {};
_.callback = null;
_.headers = null;
_.httpMethod = null;
_.requestData = null;
_.timeoutMillis = 0;
_.url = null;
var POST;
function RequestBuilder$1_0(val$request, val$callback){
  this.val$request = val$request;
  this.val$callback = val$callback;
}

function RequestBuilder$1(){
}

_ = RequestBuilder$1_0.prototype = RequestBuilder$1.prototype = new Object_0;
_.getClass$ = function getClass_184(){
  return Lcom_google_gwt_http_client_RequestBuilder$1_2_classLit;
}
;
_.onReadyStateChange = function onReadyStateChange(xhr){
  if (xhr.readyState == 4) {
    $clearOnReadyStateChange(xhr);
    $fireOnResponseReceived(this.val$request, this.val$callback);
  }
}
;
_.castableTypeMap$ = {};
_.val$callback = null;
_.val$request = null;
function RequestBuilder$Method_0(name_0){
  this.name_0 = name_0;
}

function RequestBuilder$Method(){
}

_ = RequestBuilder$Method_0.prototype = RequestBuilder$Method.prototype = new Object_0;
_.getClass$ = function getClass_185(){
  return Lcom_google_gwt_http_client_RequestBuilder$Method_2_classLit;
}
;
_.toString$ = function toString_9(){
  return this.name_0;
}
;
_.castableTypeMap$ = {};
_.name_0 = null;
function RequestException_0(message){
  $fillInStackTrace();
  this.detailMessage = message;
}

function RequestException(){
}

_ = RequestException_0.prototype = RequestException.prototype = new Exception;
_.getClass$ = function getClass_186(){
  return Lcom_google_gwt_http_client_RequestException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 73:1};
function RequestPermissionException_0(url){
  $fillInStackTrace();
  this.detailMessage = 'The URL ' + url + ' is invalid or violates the same-origin security restriction';
}

function RequestPermissionException(){
}

_ = RequestPermissionException_0.prototype = RequestPermissionException.prototype = new RequestException;
_.getClass$ = function getClass_187(){
  return Lcom_google_gwt_http_client_RequestPermissionException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 73:1};
function RequestTimeoutException_0(timeoutMillis){
  $fillInStackTrace();
  this.detailMessage = 'A request timeout has expired after ' + timeoutMillis + ' ms';
}

function RequestTimeoutException(){
}

_ = RequestTimeoutException_0.prototype = RequestTimeoutException.prototype = new RequestException;
_.getClass$ = function getClass_188(){
  return Lcom_google_gwt_http_client_RequestTimeoutException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 73:1};
function throwIfEmptyOrNull(name_0, value){
  throwIfNull(name_0, value);
  if (0 == $trim(value).length) {
    throw new IllegalArgumentException_1(name_0 + ' cannot be empty');
  }
}

function throwIfNull(name_0, value){
  if (null == value) {
    throw new NullPointerException_1(name_0 + ' cannot be null');
  }
}

function AutoDirectionHandler_0(){
}

function AutoDirectionHandler(){
}

_ = AutoDirectionHandler_0.prototype = AutoDirectionHandler.prototype = new Object_0;
_.getClass$ = function getClass_189(){
  return Lcom_google_gwt_i18n_client_AutoDirectionHandler_2_classLit;
}
;
_.onKeyUp = function onKeyUp_7(event_0){
}
;
_.castableTypeMap$ = {51:1, 78:1};
function getDirectionOnElement(elem){
  var dirPropertyValue;
  dirPropertyValue = elem['dir'] == null?null:String(elem['dir']);
  if ($equalsIgnoreCase('rtl', dirPropertyValue)) {
    return $clinit_54() , RTL;
  }
   else if ($equalsIgnoreCase('ltr', dirPropertyValue)) {
    return $clinit_54() , LTR;
  }
  return $clinit_54() , DEFAULT;
}

function setDirectionOnElement(elem, direction){
  switch (direction.ordinal) {
    case 0:
      {
        elem['dir'] = 'rtl';
        break;
      }

    case 1:
      {
        elem['dir'] = 'ltr';
        break;
      }

    case 2:
      {
        getDirectionOnElement(elem) != ($clinit_54() , DEFAULT) && (elem['dir'] = '' , undefined);
        break;
      }

  }
}

function $clinit_54(){
  $clinit_54 = nullMethod;
  RTL = new HasDirection$Direction_0('RTL', 0);
  LTR = new HasDirection$Direction_0('LTR', 1);
  DEFAULT = new HasDirection$Direction_0('DEFAULT', 2);
  $VALUES_4 = initValues(_3Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit, {31:1}, 22, [RTL, LTR, DEFAULT]);
}

function HasDirection$Direction_0(enum$name, enum$ordinal){
  this.name_0 = enum$name;
  this.ordinal = enum$ordinal;
}

function values_5(){
  $clinit_54();
  return $VALUES_4;
}

function HasDirection$Direction(){
}

_ = HasDirection$Direction_0.prototype = HasDirection$Direction.prototype = new Enum;
_.getClass$ = function getClass_190(){
  return Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit;
}
;
_.castableTypeMap$ = {22:1, 31:1, 35:1, 36:1};
var $VALUES_4, DEFAULT, LTR, RTL;
function $setTime(this$static, time){
  this$static.jsdate.setTime(toDouble(time));
}

function Date_1(){
  this.jsdate = new Date;
}

function Date_2(date){
  this.jsdate = new Date(toDouble(date));
}

function padTwo(number){
  return number < 10?'0' + number:'' + number;
}

function Date_0(){
}

_ = Date_2.prototype = Date_1.prototype = Date_0.prototype = new Object_0;
_.equals$ = function equals_5(obj){
  return obj != null && obj.castableTypeMap$ && !!obj.castableTypeMap$[43] && eq_0(this.getTime_0(), dynamicCast(obj, 43).getTime_0());
}
;
_.getClass$ = function getClass_191(){
  return Ljava_util_Date_2_classLit;
}
;
_.getTime_0 = function getTime(){
  return fromDouble(this.jsdate.getTime());
}
;
_.hashCode$ = function hashCode_7(){
  var time;
  return time = this.getTime_0() , toInt(xor(time, shru(time, 32)));
}
;
_.toString$ = function toString_10(){
  var hourOffset, minuteOffset, offset;
  offset = -this.jsdate.getTimezoneOffset();
  hourOffset = (offset >= 0?'+':'') + ~~(offset / 60);
  minuteOffset = (offset < 0?-offset:offset) % 60 < 10?'0' + (offset < 0?-offset:offset) % 60:'' + (offset < 0?-offset:offset) % 60;
  return ($clinit_86() , DAYS)[this.jsdate.getDay()] + ' ' + MONTHS[this.jsdate.getMonth()] + ' ' + padTwo(this.jsdate.getDate()) + ' ' + padTwo(this.jsdate.getHours()) + ':' + padTwo(this.jsdate.getMinutes()) + ':' + padTwo(this.jsdate.getSeconds()) + ' GMT' + hourOffset + minuteOffset + ' ' + this.jsdate.getFullYear();
}
;
_.castableTypeMap$ = {31:1, 35:1, 43:1};
_.jsdate = null;
function DateRecord_0(){
  this.jsdate = new Date;
  this.era = -1;
  this.ambiguousYear = false;
  this.year = -2147483648;
  this.month = -1;
  this.dayOfMonth = -1;
  this.ampm = -1;
  this.hours = -1;
  this.minutes = -1;
  this.seconds = -1;
  this.milliseconds = -1;
  this.dayOfWeek = -1;
  this.tzOffset = -2147483648;
}

function DateRecord(){
}

_ = DateRecord_0.prototype = DateRecord.prototype = new Date_0;
_.getClass$ = function getClass_192(){
  return Lcom_google_gwt_i18n_client_impl_DateRecord_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 35:1, 43:1};
_.ambiguousYear = false;
_.ampm = 0;
_.dayOfMonth = 0;
_.dayOfWeek = 0;
_.era = 0;
_.hours = 0;
_.milliseconds = 0;
_.minutes = 0;
_.month = 0;
_.seconds = 0;
_.tzOffset = 0;
_.year = 0;
function deserialize_46(streamReader, instance){
  instance.ambiguousYear = !!streamReader.results[--streamReader.index_0];
  instance.ampm = streamReader.results[--streamReader.index_0];
  instance.dayOfMonth = streamReader.results[--streamReader.index_0];
  instance.dayOfWeek = streamReader.results[--streamReader.index_0];
  instance.era = streamReader.results[--streamReader.index_0];
  instance.hours = streamReader.results[--streamReader.index_0];
  instance.milliseconds = streamReader.results[--streamReader.index_0];
  instance.minutes = streamReader.results[--streamReader.index_0];
  instance.month = streamReader.results[--streamReader.index_0];
  instance.seconds = streamReader.results[--streamReader.index_0];
  instance.tzOffset = streamReader.results[--streamReader.index_0];
  instance.year = streamReader.results[--streamReader.index_0];
}

function instantiate_46(streamReader){
  return new DateRecord_0;
}

function serialize_43(streamWriter, instance){
  append(streamWriter.encodeBuffer, instance.ambiguousYear?'1':'0');
  append(streamWriter.encodeBuffer, '' + instance.ampm);
  append(streamWriter.encodeBuffer, '' + instance.dayOfMonth);
  append(streamWriter.encodeBuffer, '' + instance.dayOfWeek);
  append(streamWriter.encodeBuffer, '' + instance.era);
  append(streamWriter.encodeBuffer, '' + instance.hours);
  append(streamWriter.encodeBuffer, '' + instance.milliseconds);
  append(streamWriter.encodeBuffer, '' + instance.minutes);
  append(streamWriter.encodeBuffer, '' + instance.month);
  append(streamWriter.encodeBuffer, '' + instance.seconds);
  append(streamWriter.encodeBuffer, '' + instance.tzOffset);
  append(streamWriter.encodeBuffer, '' + instance.year);
  append(streamWriter.encodeBuffer, toBase64(fromDouble(instance.jsdate.getTime())));
}

function Array_1(){
}

function clone_0(array){
  var a_0, result;
  return a_0 = array , result = a_0.slice(0, array.length) , initValues(a_0.arrayClass$, a_0.castableTypeMap$, a_0.queryId$, result) , result;
}

function createFrom(array, length_0){
  var a_0, result;
  a_0 = array;
  result = createFromSeed(0, length_0);
  initValues(a_0.arrayClass$, a_0.castableTypeMap$, a_0.queryId$, result);
  return result;
}

function createFromSeed(seedType, length_0){
  var array = new Array(length_0);
  if (seedType == 3) {
    for (var i = 0; i < length_0; ++i) {
      var value = new Object;
      value.l = value.m = value.h = 0;
      array[i] = value;
    }
  }
   else if (seedType > 0) {
    var value = [null, 0, false][seedType];
    for (var i = 0; i < length_0; ++i) {
      array[i] = value;
    }
  }
  return array;
}

function initDim(arrayClass, castableTypeMap, queryId, length_0, seedType){
  var result;
  result = createFromSeed(seedType, length_0);
  $clinit_55();
  wrapArray(result, expandoNames_0, expandoValues_0);
  result.arrayClass$ = arrayClass;
  result.castableTypeMap$ = castableTypeMap;
  result.queryId$ = queryId;
  return result;
}

function initValues(arrayClass, castableTypeMap, queryId, array){
  $clinit_55();
  wrapArray(array, expandoNames_0, expandoValues_0);
  array.arrayClass$ = arrayClass;
  array.castableTypeMap$ = castableTypeMap;
  array.queryId$ = queryId;
  return array;
}

function setCheck(array, index, value){
  if (value != null) {
    if (array.queryId$ > 0 && !canCastUnsafe(value, array.queryId$)) {
      throw new ArrayStoreException_0;
    }
    if (array.queryId$ < 0 && (value.typeMarker$ == nullMethod || value.castableTypeMap$ && !!value.castableTypeMap$[1])) {
      throw new ArrayStoreException_0;
    }
  }
  return array[index] = value;
}

function Array_0(){
}

_ = Array_1.prototype = Array_0.prototype = new Object_0;
_.getClass$ = function getClass_193(){
  return this.arrayClass$;
}
;
_.castableTypeMap$ = {};
_.arrayClass$ = null;
_.queryId$ = 0;
function $clinit_55(){
  $clinit_55 = nullMethod;
  expandoNames_0 = [];
  expandoValues_0 = [];
  initExpandos(new Array_1, expandoNames_0, expandoValues_0);
}

function initExpandos(protoType, expandoNames, expandoValues){
  var i = 0, value;
  for (var name_0 in protoType) {
    if (value = protoType[name_0]) {
      expandoNames[i] = name_0;
      expandoValues[i] = value;
      ++i;
    }
  }
}

function wrapArray(array, expandoNames, expandoValues){
  $clinit_55();
  for (var i = 0, c = expandoNames.length; i < c; ++i) {
    array[expandoNames[i]] = expandoValues[i];
  }
}

var expandoNames_0, expandoValues_0;
function canCastUnsafe(src, dstId){
  return src.castableTypeMap$ && src.castableTypeMap$[dstId];
}

function dynamicCast(src, dstId){
  if (src != null && !(src.castableTypeMap$ && src.castableTypeMap$[dstId])) {
    throw new ClassCastException_0;
  }
  return src;
}

function dynamicCastJso(src){
  if (src != null && (src.typeMarker$ == nullMethod || src.castableTypeMap$ && !!src.castableTypeMap$[1])) {
    throw new ClassCastException_0;
  }
  return src;
}

function instanceOf(src, dstId){
  return src != null && src.castableTypeMap$ && !!src.castableTypeMap$[dstId];
}

function instanceOfJso(src){
  return src != null && src.typeMarker$ != nullMethod && !(src.castableTypeMap$ && !!src.castableTypeMap$[1]);
}

function maskUndefined(src){
  return src == null?null:src;
}

function throwClassCastExceptionUnlessNull(o){
  if (o != null) {
    throw new ClassCastException_0;
  }
  return null;
}

function init(){
  var runtimeValue;
  !!$stats && onModuleStart('com.google.gwt.user.client.UserAgentAsserter');
  runtimeValue = $getRuntimeValue();
  $equals_1('gecko1_8', runtimeValue) || ($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (gecko1_8) does not match the runtime user.agent value (' + runtimeValue + '). Expect more errors.\n') , undefined);
  !!$stats && onModuleStart('com.dnb.webmash.playmaker.client.PlayMaker');
  $onModuleLoad(new PlayMaker_0);
}

function caught_0(e){
  if (e != null && e.castableTypeMap$ && !!e.castableTypeMap$[42]) {
    return e;
  }
  return new JavaScriptException_0(e);
}

function create(value){
  var a0, a1, a2;
  a0 = value & 4194303;
  a1 = value >> 22 & 4194303;
  a2 = value < 0?1048575:0;
  return a = new LongLibBase$LongEmul_0 , a.l = a0 , a.m = a1 , a.h = a2 , a;
}

function create_0(a_0){
  return create0(a_0.l, a_0.m, a_0.h);
}

function create0(l_0, m_0, h_0){
  return a = new LongLibBase$LongEmul_0 , a.l = l_0 , a.m = m_0 , a.h = h_0 , a;
}

function divMod(a_0, b, computeRemainder){
  var aIsCopy, aIsMinValue, aIsNegative, bpower, c, negative;
  if (b.l == 0 && b.m == 0 && b.h == 0) {
    throw new ArithmeticException_0;
  }
  if (a_0.l == 0 && a_0.m == 0 && a_0.h == 0) {
    computeRemainder && (remainder = create0(0, 0, 0));
    return create0(0, 0, 0);
  }
  if (b.h == 524288 && b.m == 0 && b.l == 0) {
    return divModByMinValue(a_0, computeRemainder);
  }
  negative = false;
  if (b.h >> 19 != 0) {
    b = neg(b);
    negative = true;
  }
  bpower = powerOfTwo(b);
  aIsNegative = false;
  aIsMinValue = false;
  aIsCopy = false;
  if (a_0.h == 524288 && a_0.m == 0 && a_0.l == 0) {
    aIsMinValue = true;
    aIsNegative = true;
    if (bpower == -1) {
      a_0 = create_0(($clinit_56() , MAX_VALUE));
      aIsCopy = true;
      negative = !negative;
    }
     else {
      c = shr(a_0, bpower);
      negative && negate(c);
      computeRemainder && (remainder = create0(0, 0, 0));
      return c;
    }
  }
   else if (a_0.h >> 19 != 0) {
    aIsNegative = true;
    a_0 = neg(a_0);
    aIsCopy = true;
    negative = !negative;
  }
  if (bpower != -1) {
    return divModByShift(a_0, bpower, negative, aIsNegative, computeRemainder);
  }
  if (!gte_0(a_0, b)) {
    computeRemainder && (aIsNegative?(remainder = neg(a_0)):(remainder = create0(a_0.l, a_0.m, a_0.h)));
    return create0(0, 0, 0);
  }
  return divModHelper(aIsCopy?a_0:create0(a_0.l, a_0.m, a_0.h), b, negative, aIsNegative, aIsMinValue, computeRemainder);
}

function divModByMinValue(a_0, computeRemainder){
  if (a_0.h == 524288 && a_0.m == 0 && a_0.l == 0) {
    computeRemainder && (remainder = create0(0, 0, 0));
    return create_0(($clinit_56() , ONE));
  }
  computeRemainder && (remainder = create0(a_0.l, a_0.m, a_0.h));
  return create0(0, 0, 0);
}

function divModByShift(a_0, bpower, negative, aIsNegative, computeRemainder){
  var c;
  c = shr(a_0, bpower);
  negative && negate(c);
  if (computeRemainder) {
    a_0 = maskRight(a_0, bpower);
    aIsNegative?(remainder = neg(a_0)):(remainder = create0(a_0.l, a_0.m, a_0.h));
  }
  return c;
}

function divModHelper(a_0, b, negative, aIsNegative, aIsMinValue, computeRemainder){
  var bshift, gte, quotient, shift, a0, a1, a2;
  shift = numberOfLeadingZeros(b) - numberOfLeadingZeros(a_0);
  bshift = shl(b, shift);
  quotient = create0(0, 0, 0);
  while (shift >= 0) {
    gte = trialSubtract(a_0, bshift);
    if (gte) {
      shift < 22?(quotient.l |= 1 << shift , undefined):shift < 44?(quotient.m |= 1 << shift - 22 , undefined):(quotient.h |= 1 << shift - 44 , undefined);
      if (a_0.l == 0 && a_0.m == 0 && a_0.h == 0) {
        break;
      }
    }
    a1 = bshift.m;
    a2 = bshift.h;
    a0 = bshift.l;
    bshift.h = a2 >>> 1;
    bshift.m = a1 >>> 1 | (a2 & 1) << 21;
    bshift.l = a0 >>> 1 | (a1 & 1) << 21;
    --shift;
  }
  negative && negate(quotient);
  if (computeRemainder) {
    if (aIsNegative) {
      remainder = neg(a_0);
      aIsMinValue && (remainder = sub(remainder, ($clinit_56() , ONE)));
    }
     else {
      remainder = create0(a_0.l, a_0.m, a_0.h);
    }
  }
  return quotient;
}

function maskRight(a_0, bits){
  var b0, b1, b2;
  if (bits <= 22) {
    b0 = a_0.l & (1 << bits) - 1;
    b1 = b2 = 0;
  }
   else if (bits <= 44) {
    b0 = a_0.l;
    b1 = a_0.m & (1 << bits - 22) - 1;
    b2 = 0;
  }
   else {
    b0 = a_0.l;
    b1 = a_0.m;
    b2 = a_0.h & (1 << bits - 44) - 1;
  }
  return create0(b0, b1, b2);
}

function negate(a_0){
  var neg0, neg1, neg2;
  neg0 = ~a_0.l + 1 & 4194303;
  neg1 = ~a_0.m + (neg0 == 0?1:0) & 4194303;
  neg2 = ~a_0.h + (neg0 == 0 && neg1 == 0?1:0) & 1048575;
  a_0.l = neg0;
  a_0.m = neg1;
  a_0.h = neg2;
}

--></script>
<script><!--
function numberOfLeadingZeros(a_0){
  var b1, b2;
  b2 = numberOfLeadingZeros_0(a_0.h);
  if (b2 == 32) {
    b1 = numberOfLeadingZeros_0(a_0.m);
    return b1 == 32?numberOfLeadingZeros_0(a_0.l) + 32:b1 + 20 - 10;
  }
   else {
    return b2 - 12;
  }
}

function powerOfTwo(a_0){
  var h_0, l_0, m_0;
  l_0 = a_0.l;
  if ((l_0 & l_0 - 1) != 0) {
    return -1;
  }
  m_0 = a_0.m;
  if ((m_0 & m_0 - 1) != 0) {
    return -1;
  }
  h_0 = a_0.h;
  if ((h_0 & h_0 - 1) != 0) {
    return -1;
  }
  if (h_0 == 0 && m_0 == 0 && l_0 == 0) {
    return -1;
  }
  if (h_0 == 0 && m_0 == 0 && l_0 != 0) {
    return numberOfTrailingZeros(l_0);
  }
  if (h_0 == 0 && m_0 != 0 && l_0 == 0) {
    return numberOfTrailingZeros(m_0) + 22;
  }
  if (h_0 != 0 && m_0 == 0 && l_0 == 0) {
    return numberOfTrailingZeros(h_0) + 44;
  }
  return -1;
}

function toDoubleHelper(a_0){
  return a_0.l + a_0.m * 4194304 + a_0.h * 17592186044416;
}

function trialSubtract(a_0, b){
  var sum0, sum1, sum2;
  sum2 = a_0.h - b.h;
  if (sum2 < 0) {
    return false;
  }
  sum0 = a_0.l - b.l;
  sum1 = a_0.m - b.m + (sum0 >> 22);
  sum2 += sum1 >> 22;
  if (sum2 < 0) {
    return false;
  }
  a_0.l = sum0 & 4194303;
  a_0.m = sum1 & 4194303;
  a_0.h = sum2 & 1048575;
  return true;
}

var remainder = null;
function add_0(a_0, b){
  var sum0, sum1, sum2;
  sum0 = a_0.l + b.l;
  sum1 = a_0.m + b.m + (sum0 >> 22);
  sum2 = a_0.h + b.h + (sum1 >> 22);
  return create0(sum0 & 4194303, sum1 & 4194303, sum2 & 1048575);
}

function and(a_0, b){
  return create0(a_0.l & b.l, a_0.m & b.m, a_0.h & b.h);
}

function base64Append(sb, digit, haveNonZero){
  var c;
  digit > 0 && (haveNonZero = true);
  if (haveNonZero) {
    digit < 26?(c = 65 + digit):digit < 52?(c = 97 + digit - 26):digit < 62?(c = 48 + digit - 52):digit == 62?(c = 36):(c = 95);
    sb.impl.string += String.fromCharCode(c & 65535);
  }
  return haveNonZero;
}

function base64Value(digit){
  if (digit >= 65 && digit <= 90) {
    return digit - 65;
  }
  if (digit >= 97) {
    return digit - 97 + 26;
  }
  if (digit >= 48 && digit <= 57) {
    return digit - 48 + 52;
  }
  if (digit == 36) {
    return 62;
  }
  return 63;
}

function eq_0(a_0, b){
  return a_0.l == b.l && a_0.m == b.m && a_0.h == b.h;
}

function fromDouble(value){
  var a0, a1, a2, negative, result;
  if (isNaN(value)) {
    return $clinit_56() , ZERO;
  }
  if (value < -9223372036854775808) {
    return $clinit_56() , MIN_VALUE;
  }
  if (value >= 9223372036854775807) {
    return $clinit_56() , MAX_VALUE;
  }
  negative = false;
  if (value < 0) {
    negative = true;
    value = -value;
  }
  a2 = 0;
  if (value >= 17592186044416) {
    a2 = ~~Math.max(Math.min(value / 17592186044416, 2147483647), -2147483648);
    value -= a2 * 17592186044416;
  }
  a1 = 0;
  if (value >= 4194304) {
    a1 = ~~Math.max(Math.min(value / 4194304, 2147483647), -2147483648);
    value -= a1 * 4194304;
  }
  a0 = ~~Math.max(Math.min(value, 2147483647), -2147483648);
  result = (a = new LongLibBase$LongEmul_0 , a.l = a0 , a.m = a1 , a.h = a2 , a);
  negative && negate(result);
  return result;
}

function fromInt(value){
  var rebase, result;
  if (value > -129 && value < 128) {
    rebase = value + 128;
    boxedValues == null && (boxedValues = initDim(_3Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit, {31:1}, 23, 256, 0));
    result = boxedValues[rebase];
    !result && (result = boxedValues[rebase] = create(value));
    return result;
  }
  return create(value);
}

function gt(a_0, b){
  var signa, signb;
  signa = a_0.h >> 19;
  signb = b.h >> 19;
  return signa == 0?signb != 0 || a_0.h > b.h || a_0.h == b.h && a_0.m > b.m || a_0.h == b.h && a_0.m == b.m && a_0.l > b.l:!(signb == 0 || a_0.h < b.h || a_0.h == b.h && a_0.m < b.m || a_0.h == b.h && a_0.m == b.m && a_0.l <= b.l);
}

function gte_0(a_0, b){
  var signa, signb;
  signa = a_0.h >> 19;
  signb = b.h >> 19;
  return signa == 0?signb != 0 || a_0.h > b.h || a_0.h == b.h && a_0.m > b.m || a_0.h == b.h && a_0.m == b.m && a_0.l >= b.l:!(signb == 0 || a_0.h < b.h || a_0.h == b.h && a_0.m < b.m || a_0.h == b.h && a_0.m == b.m && a_0.l < b.l);
}

function longFromBase64(value){
  var len, longVal, pos;
  pos = 0;
  longVal = fromInt(base64Value(value.charCodeAt(pos++)));
  len = value.length;
  while (pos < len) {
    longVal = shl(longVal, 6);
    longVal = or(longVal, fromInt(base64Value(value.charCodeAt(pos++))));
  }
  return longVal;
}

function mul(a_0, b){
  var a0, a1, a2, a3, a4, b0, b1, b2, b3, b4, c0, c00, c01, c1, c10, c11, c12, c13, c2, c22, c23, c24, p0, p1, p2, p3, p4;
  a0 = a_0.l & 8191;
  a1 = a_0.l >> 13 | (a_0.m & 15) << 9;
  a2 = a_0.m >> 4 & 8191;
  a3 = a_0.m >> 17 | (a_0.h & 255) << 5;
  a4 = (a_0.h & 1048320) >> 8;
  b0 = b.l & 8191;
  b1 = b.l >> 13 | (b.m & 15) << 9;
  b2 = b.m >> 4 & 8191;
  b3 = b.m >> 17 | (b.h & 255) << 5;
  b4 = (b.h & 1048320) >> 8;
  p0 = a0 * b0;
  p1 = a1 * b0;
  p2 = a2 * b0;
  p3 = a3 * b0;
  p4 = a4 * b0;
  if (b1 != 0) {
    p1 += a0 * b1;
    p2 += a1 * b1;
    p3 += a2 * b1;
    p4 += a3 * b1;
  }
  if (b2 != 0) {
    p2 += a0 * b2;
    p3 += a1 * b2;
    p4 += a2 * b2;
  }
  if (b3 != 0) {
    p3 += a0 * b3;
    p4 += a1 * b3;
  }
  b4 != 0 && (p4 += a0 * b4);
  c00 = p0 & 4194303;
  c01 = (p1 & 511) << 13;
  c0 = c00 + c01;
  c10 = p0 >> 22;
  c11 = p1 >> 9;
  c12 = (p2 & 262143) << 4;
  c13 = (p3 & 31) << 17;
  c1 = c10 + c11 + c12 + c13;
  c22 = p2 >> 18;
  c23 = p3 >> 5;
  c24 = (p4 & 4095) << 8;
  c2 = c22 + c23 + c24;
  c1 += c0 >> 22;
  c0 &= 4194303;
  c2 += c1 >> 22;
  c1 &= 4194303;
  c2 &= 1048575;
  return create0(c0, c1, c2);
}

function neg(a_0){
  var neg0, neg1, neg2;
  neg0 = ~a_0.l + 1 & 4194303;
  neg1 = ~a_0.m + (neg0 == 0?1:0) & 4194303;
  neg2 = ~a_0.h + (neg0 == 0 && neg1 == 0?1:0) & 1048575;
  return create0(neg0, neg1, neg2);
}

function or(a_0, b){
  return create0(a_0.l | b.l, a_0.m | b.m, a_0.h | b.h);
}

function shl(a_0, n){
  var res0, res1, res2;
  n &= 63;
  if (n < 22) {
    res0 = a_0.l << n;
    res1 = a_0.m << n | a_0.l >> 22 - n;
    res2 = a_0.h << n | a_0.m >> 22 - n;
  }
   else if (n < 44) {
    res0 = 0;
    res1 = a_0.l << n - 22;
    res2 = a_0.m << n - 22 | a_0.l >> 44 - n;
  }
   else {
    res0 = 0;
    res1 = 0;
    res2 = a_0.l << n - 44;
  }
  return create0(res0 & 4194303, res1 & 4194303, res2 & 1048575);
}

function shr(a_0, n){
  var a2, negative, res0, res1, res2;
  n &= 63;
  a2 = a_0.h;
  negative = (a2 & 524288) != 0;
  negative && (a2 |= -1048576);
  if (n < 22) {
    res2 = a2 >> n;
    res1 = a_0.m >> n | a2 << 22 - n;
    res0 = a_0.l >> n | a_0.m << 22 - n;
  }
   else if (n < 44) {
    res2 = negative?1048575:0;
    res1 = a2 >> n - 22;
    res0 = a_0.m >> n - 22 | a2 << 44 - n;
  }
   else {
    res2 = negative?1048575:0;
    res1 = negative?4194303:0;
    res0 = a2 >> n - 44;
  }
  return create0(res0 & 4194303, res1 & 4194303, res2 & 1048575);
}

function shru(a_0, n){
  var a2, res0, res1, res2;
  n &= 63;
  a2 = a_0.h & 1048575;
  if (n < 22) {
    res2 = a2 >>> n;
    res1 = a_0.m >> n | a2 << 22 - n;
    res0 = a_0.l >> n | a_0.m << 22 - n;
  }
   else if (n < 44) {
    res2 = 0;
    res1 = a2 >>> n - 22;
    res0 = a_0.m >> n - 22 | a_0.h << 44 - n;
  }
   else {
    res2 = 0;
    res1 = 0;
    res0 = a2 >>> n - 44;
  }
  return create0(res0 & 4194303, res1 & 4194303, res2 & 1048575);
}

function sub(a_0, b){
  var sum0, sum1, sum2;
  sum0 = a_0.l - b.l;
  sum1 = a_0.m - b.m + (sum0 >> 22);
  sum2 = a_0.h - b.h + (sum1 >> 22);
  return create0(sum0 & 4194303, sum1 & 4194303, sum2 & 1048575);
}

function toBase64(value){
  var haveNonZero, high, low, sb, v;
  low = toInt(and(value, N1_longLit));
  high = toInt(shr(value, 32));
  sb = new StringBuilder_0;
  haveNonZero = base64Append(sb, high >> 28 & 15, false);
  haveNonZero = base64Append(sb, high >> 22 & 63, haveNonZero);
  haveNonZero = base64Append(sb, high >> 16 & 63, haveNonZero);
  haveNonZero = base64Append(sb, high >> 10 & 63, haveNonZero);
  haveNonZero = base64Append(sb, high >> 4 & 63, haveNonZero);
  v = (high & 15) << 2 | low >> 30 & 3;
  haveNonZero = base64Append(sb, v, haveNonZero);
  haveNonZero = base64Append(sb, low >> 24 & 63, haveNonZero);
  haveNonZero = base64Append(sb, low >> 18 & 63, haveNonZero);
  haveNonZero = base64Append(sb, low >> 12 & 63, haveNonZero);
  base64Append(sb, low >> 6 & 63, haveNonZero);
  base64Append(sb, low & 63, true);
  return $toString(sb.impl, sb);
}

function toDouble(a_0){
  if (eq_0(a_0, ($clinit_56() , MIN_VALUE))) {
    return -9223372036854775808;
  }
  if (!gte_0(a_0, ZERO)) {
    return -toDoubleHelper(neg(a_0));
  }
  return a_0.l + a_0.m * 4194304 + a_0.h * 17592186044416;
}

function toInt(a_0){
  return a_0.l | a_0.m << 22;
}

function toString_11(a_0){
  var digits, rem, res, tenPowerLong, zeroesNeeded;
  if (a_0.l == 0 && a_0.m == 0 && a_0.h == 0) {
    return '0';
  }
  if (a_0.h == 524288 && a_0.m == 0 && a_0.l == 0) {
    return '-9223372036854775808';
  }
  if (a_0.h >> 19 != 0) {
    return '-' + toString_11(neg(a_0));
  }
  rem = a_0;
  res = '';
  while (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) {
    tenPowerLong = fromInt(1000000000);
    rem = divMod(rem, tenPowerLong, true);
    digits = '' + toInt(remainder);
    if (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) {
      zeroesNeeded = 9 - digits.length;
      for (; zeroesNeeded > 0; --zeroesNeeded) {
        digits = '0' + digits;
      }
    }
    res = digits + res;
  }
  return res;
}

function xor(a_0, b){
  return create0(a_0.l ^ b.l, a_0.m ^ b.m, a_0.h ^ b.h);
}

var boxedValues = null;
function $clinit_56(){
  $clinit_56 = nullMethod;
  MAX_VALUE = (a = new LongLibBase$LongEmul_0 , a.l = 4194303 , a.m = 4194303 , a.h = 524287 , a);
  MIN_VALUE = (a = new LongLibBase$LongEmul_0 , a.l = 0 , a.m = 0 , a.h = 524288 , a);
  ONE = fromInt(1);
  fromInt(2);
  ZERO = fromInt(0);
}

var MAX_VALUE, MIN_VALUE, ONE, ZERO;
function LongLibBase$LongEmul_0(){
}

function LongLibBase$LongEmul(){
}

_ = LongLibBase$LongEmul_0.prototype = LongLibBase$LongEmul.prototype = new Object_0;
_.getClass$ = function getClass_194(){
  return Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit;
}
;
_.castableTypeMap$ = {23:1};
function onModuleStart(mainClassName){
  return $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'startup', evtGroup:'moduleStartup', millis:(new Date).getTime(), type:'onModuleLoadStart', className:mainClassName});
}

function $adjustHorizontalConstraints(this$static, parentWidth, l_0){
  var leftPx, rightPx, widthPx;
  leftPx = l_0.left_0 * $getUnitSize(this$static, l_0.leftUnit, false);
  rightPx = l_0.right * $getUnitSize(this$static, l_0.rightUnit, false);
  widthPx = l_0.width_0 * $getUnitSize(this$static, l_0.widthUnit, false);
  if (l_0.setLeft && !l_0.setTargetLeft) {
    l_0.setLeft = false;
    if (l_0.setWidth) {
      l_0.setTargetRight = true;
      l_0.sourceRight = (parentWidth - (leftPx + widthPx)) / $getUnitSize(this$static, l_0.targetRightUnit, false);
    }
     else {
      l_0.setTargetWidth = true;
      l_0.sourceWidth = (parentWidth - (leftPx + rightPx)) / $getUnitSize(this$static, l_0.targetWidthUnit, false);
    }
  }
   else if (l_0.setWidth && !l_0.setTargetWidth) {
    l_0.setWidth = false;
    if (l_0.setLeft) {
      l_0.setTargetRight = true;
      l_0.sourceRight = (parentWidth - (leftPx + widthPx)) / $getUnitSize(this$static, l_0.targetRightUnit, false);
    }
     else {
      l_0.setTargetLeft = true;
      l_0.sourceLeft = (parentWidth - (rightPx + widthPx)) / $getUnitSize(this$static, l_0.targetLeftUnit, false);
    }
  }
   else if (l_0.setRight && !l_0.setTargetRight) {
    l_0.setRight = false;
    if (l_0.setWidth) {
      l_0.setTargetLeft = true;
      l_0.sourceLeft = (parentWidth - (rightPx + widthPx)) / $getUnitSize(this$static, l_0.targetLeftUnit, false);
    }
     else {
      l_0.setTargetWidth = true;
      l_0.sourceWidth = (parentWidth - (leftPx + rightPx)) / $getUnitSize(this$static, l_0.targetWidthUnit, false);
    }
  }
  l_0.setLeft = l_0.setTargetLeft;
  l_0.setRight = l_0.setTargetRight;
  l_0.setWidth = l_0.setTargetWidth;
  l_0.leftUnit = l_0.targetLeftUnit;
  l_0.rightUnit = l_0.targetRightUnit;
  l_0.widthUnit = l_0.targetWidthUnit;
}

function $adjustVerticalConstraints(this$static, parentHeight, l_0){
  var bottomPx, heightPx, topPx;
  topPx = l_0.top_0 * $getUnitSize(this$static, l_0.topUnit, true);
  bottomPx = l_0.bottom * $getUnitSize(this$static, l_0.bottomUnit, true);
  heightPx = l_0.height_0 * $getUnitSize(this$static, l_0.heightUnit, true);
  if (l_0.setTop && !l_0.setTargetTop) {
    l_0.setTop = false;
    if (l_0.setHeight) {
      l_0.setTargetBottom = true;
      l_0.sourceBottom = (parentHeight - (topPx + heightPx)) / $getUnitSize(this$static, l_0.targetBottomUnit, true);
    }
     else {
      l_0.setTargetHeight = true;
      l_0.sourceHeight = (parentHeight - (topPx + bottomPx)) / $getUnitSize(this$static, l_0.targetHeightUnit, true);
    }
  }
   else if (l_0.setHeight && !l_0.setTargetHeight) {
    l_0.setHeight = false;
    if (l_0.setTop) {
      l_0.setTargetBottom = true;
      l_0.sourceBottom = (parentHeight - (topPx + heightPx)) / $getUnitSize(this$static, l_0.targetBottomUnit, true);
    }
     else {
      l_0.setTargetTop = true;
      l_0.sourceTop = (parentHeight - (bottomPx + heightPx)) / $getUnitSize(this$static, l_0.targetTopUnit, true);
    }
  }
   else if (l_0.setBottom && !l_0.setTargetBottom) {
    l_0.setBottom = false;
    if (l_0.setHeight) {
      l_0.setTargetTop = true;
      l_0.sourceTop = (parentHeight - (bottomPx + heightPx)) / $getUnitSize(this$static, l_0.targetTopUnit, true);
    }
     else {
      l_0.setTargetHeight = true;
      l_0.sourceHeight = (parentHeight - (topPx + bottomPx)) / $getUnitSize(this$static, l_0.targetHeightUnit, true);
    }
  }
  l_0.setTop = l_0.setTargetTop;
  l_0.setBottom = l_0.setTargetBottom;
  l_0.setHeight = l_0.setTargetHeight;
  l_0.topUnit = l_0.targetTopUnit;
  l_0.bottomUnit = l_0.targetBottomUnit;
  l_0.heightUnit = l_0.targetHeightUnit;
}

function $attachChild(this$static, child, userObject){
  var container, layer;
  container = $attachChild_0(this$static.parentElem, child);
  layer = new Layout$Layer_0(container, child, userObject);
  $add_5(this$static.layers, layer);
  return layer;
}

function $getUnitSize(this$static, unit, vertical){
  return $getUnitSizeInPixels(this$static.impl, this$static.parentElem, unit, vertical);
}

function $layout(this$static, duration, callback){
  var l_0, l$iterator, parentHeight, parentWidth;
  !!this$static.animation && $cancel(this$static.animation);
  if (duration == 0) {
    for (l$iterator = new AbstractList$IteratorImpl_0(this$static.layers); l$iterator.i < l$iterator.this$0_0.size_0();) {
      l_0 = dynamicCast($next_3(l$iterator), 67);
      l_0.left_0 = l_0.sourceLeft = l_0.targetLeft;
      l_0.top_0 = l_0.sourceTop = l_0.targetTop;
      l_0.right = l_0.sourceRight = l_0.targetRight;
      l_0.bottom = l_0.sourceBottom = l_0.targetBottom;
      l_0.width_0 = l_0.sourceWidth = l_0.targetWidth;
      l_0.height_0 = l_0.sourceHeight = l_0.targetHeight;
      l_0.setLeft = l_0.setTargetLeft;
      l_0.setTop = l_0.setTargetTop;
      l_0.setRight = l_0.setTargetRight;
      l_0.setBottom = l_0.setTargetBottom;
      l_0.setWidth = l_0.setTargetWidth;
      l_0.setHeight = l_0.setTargetHeight;
      l_0.leftUnit = l_0.targetLeftUnit;
      l_0.topUnit = l_0.targetTopUnit;
      l_0.rightUnit = l_0.targetRightUnit;
      l_0.bottomUnit = l_0.targetBottomUnit;
      l_0.widthUnit = l_0.targetWidthUnit;
      l_0.heightUnit = l_0.targetHeightUnit;
      $layout_0(l_0);
    }
    return;
  }
  parentWidth = this$static.parentElem.clientWidth;
  parentHeight = this$static.parentElem.clientHeight;
  for (l$iterator = new AbstractList$IteratorImpl_0(this$static.layers); l$iterator.i < l$iterator.this$0_0.size_0();) {
    l_0 = dynamicCast($next_3(l$iterator), 67);
    $adjustHorizontalConstraints(this$static, parentWidth, l_0);
    $adjustVerticalConstraints(this$static, parentHeight, l_0);
  }
  this$static.animation = new Layout$1_0(this$static, callback);
  $run(this$static.animation, duration, (new Date).getTime());
}

function $removeChild(this$static, layer){
  $removeChild_0(layer.container, layer.child);
  $remove_11(this$static.layers, layer);
}

function Layout_0(parent_0){
  this.impl = new LayoutImpl_0;
  this.layers = new ArrayList_0;
  this.parentElem = parent_0;
  $initParent(this.impl, parent_0);
}

function Layout(){
}

_ = Layout_0.prototype = Layout.prototype = new Object_0;
_.getClass$ = function getClass_195(){
  return Lcom_google_gwt_layout_client_Layout_2_classLit;
}
;
_.castableTypeMap$ = {};
_.animation = null;
_.parentElem = null;
function Layout$1_0(this$0, val$callback){
  this.this$0 = this$0;
  this.val$callback = val$callback;
}

function Layout$1(){
}

_ = Layout$1_0.prototype = Layout$1.prototype = new Animation;
_.getClass$ = function getClass_196(){
  return Lcom_google_gwt_layout_client_Layout$1_2_classLit;
}
;
_.onCancel = function onCancel_0(){
  this.this$0.animation = null;
  $layout(this.this$0, 0, null);
}
;
_.onComplete = function onComplete_0(){
  this.this$0.animation = null;
  $layout(this.this$0, 0, null);
}
;
_.onUpdate = function onUpdate(progress){
  var l_0, l$iterator, child;
  for (l$iterator = new AbstractList$IteratorImpl_0(this.this$0.layers); l$iterator.i < l$iterator.this$0_0.size_0();) {
    l_0 = dynamicCast($next_3(l$iterator), 67);
    l_0.setTargetLeft && (l_0.left_0 = l_0.sourceLeft + (l_0.targetLeft - l_0.sourceLeft) * progress);
    l_0.setTargetRight && (l_0.right = l_0.sourceRight + (l_0.targetRight - l_0.sourceRight) * progress);
    l_0.setTargetTop && (l_0.top_0 = l_0.sourceTop + (l_0.targetTop - l_0.sourceTop) * progress);
    l_0.setTargetBottom && (l_0.bottom = l_0.sourceBottom + (l_0.targetBottom - l_0.sourceBottom) * progress);
    l_0.setTargetWidth && (l_0.width_0 = l_0.sourceWidth + (l_0.targetWidth - l_0.sourceWidth) * progress);
    l_0.setTargetHeight && (l_0.height_0 = l_0.sourceHeight + (l_0.targetHeight - l_0.sourceHeight) * progress);
    $layout_0(l_0);
    !!this.val$callback && (child = l_0.userObject , child != null && child.castableTypeMap$ && !!child.castableTypeMap$[74] && dynamicCast(child, 74).onResize_0() , undefined);
  }
}
;
_.castableTypeMap$ = {14:1};
_.this$0 = null;
_.val$callback = null;
function $setBottomHeight(this$static, bottom, bottomUnit, height, heightUnit){
  this$static.setTargetBottom = this$static.setTargetHeight = true;
  this$static.setTargetTop = false;
  this$static.targetBottom = bottom;
  this$static.targetHeight = height;
  this$static.targetBottomUnit = bottomUnit;
  this$static.targetHeightUnit = heightUnit;
}

function $setLeftRight(this$static, left, leftUnit, right, rightUnit){
  this$static.setTargetLeft = this$static.setTargetRight = true;
  this$static.setTargetWidth = false;
  this$static.targetLeft = left;
  this$static.targetRight = right;
  this$static.targetLeftUnit = leftUnit;
  this$static.targetRightUnit = rightUnit;
}

function $setLeftWidth(this$static, left, leftUnit, width, widthUnit){
  this$static.setTargetLeft = this$static.setTargetWidth = true;
  this$static.setTargetRight = false;
  this$static.targetLeft = left;
  this$static.targetWidth = width;
  this$static.targetLeftUnit = leftUnit;
  this$static.targetWidthUnit = widthUnit;
}

function $setRightWidth(this$static, right, rightUnit, width, widthUnit){
  this$static.setTargetRight = this$static.setTargetWidth = true;
  this$static.setTargetLeft = false;
  this$static.targetRight = right;
  this$static.targetWidth = width;
  this$static.targetRightUnit = rightUnit;
  this$static.targetWidthUnit = widthUnit;
}

function $setTopBottom(this$static, top_0, topUnit, bottom, bottomUnit){
  this$static.setTargetTop = this$static.setTargetBottom = true;
  this$static.setTargetHeight = false;
  this$static.targetTop = top_0;
  this$static.targetBottom = bottom;
  this$static.targetTopUnit = topUnit;
  this$static.targetBottomUnit = bottomUnit;
}

function $setTopHeight(this$static, top_0, topUnit, height, heightUnit){
  this$static.setTargetTop = this$static.setTargetHeight = true;
  this$static.setTargetBottom = false;
  this$static.targetTop = top_0;
  this$static.targetHeight = height;
  this$static.targetTopUnit = topUnit;
  this$static.targetHeightUnit = heightUnit;
}

function Layout$Layer_0(container, child, userObject){
  this.targetLeftUnit = ($clinit_45() , PX);
  this.targetTopUnit = PX;
  this.targetRightUnit = PX;
  this.targetBottomUnit = PX;
  this.container = container;
  this.child = child;
  this.userObject = userObject;
}

function Layout$Layer(){
}

_ = Layout$Layer_0.prototype = Layout$Layer.prototype = new Object_0;
_.getClass$ = function getClass_197(){
  return Lcom_google_gwt_layout_client_Layout$Layer_2_classLit;
}
;
_.castableTypeMap$ = {67:1};
_.bottom = 0;
_.bottomUnit = null;
_.child = null;
_.container = null;
_.height_0 = 0;
_.heightUnit = null;
_.left_0 = 0;
_.leftUnit = null;
_.right = 0;
_.rightUnit = null;
_.setBottom = false;
_.setHeight = false;
_.setLeft = false;
_.setRight = false;
_.setTargetBottom = true;
_.setTargetHeight = false;
_.setTargetLeft = true;
_.setTargetRight = true;
_.setTargetTop = true;
_.setTargetWidth = false;
_.setTop = false;
_.setWidth = false;
_.sourceBottom = 0;
_.sourceHeight = 0;
_.sourceLeft = 0;
_.sourceRight = 0;
_.sourceTop = 0;
_.sourceWidth = 0;
_.targetBottom = 0;
_.targetHeight = 0;
_.targetHeightUnit = null;
_.targetLeft = 0;
_.targetRight = 0;
_.targetTop = 0;
_.targetWidth = 0;
_.targetWidthUnit = null;
_.top_0 = 0;
_.topUnit = null;
_.userObject = null;
_.width_0 = 0;
_.widthUnit = null;
function $clinit_57(){
  $clinit_57 = nullMethod;
  fixedRuler = createRuler(($clinit_45() , CM), CM);
  $doc.body.appendChild(fixedRuler);
}

function $attachChild_0(parent_0, child){
  var container, style;
  container = $doc.createElement('div');
  container.appendChild(child);
  container.style['position'] = ($clinit_44() , 'absolute');
  container.style['overflow'] = ($clinit_43() , 'hidden');
  style = child.style;
  style['position'] = 'absolute';
  style['left'] = 0 + ($clinit_45() , 'px');
  style['top'] = '0px';
  style['right'] = '0px';
  style['bottom'] = '0px';
  parent_0.insertBefore(container, null);
  return container;
}

function $getUnitSizeInPixels(this$static, parent_0, unit, vertical){
  if (!unit) {
    return 1;
  }
  switch (unit.ordinal) {
    case 1:
      return (vertical?parent_0.clientHeight:parent_0.clientWidth) / 100;
    case 2:
      return (this$static.relativeRuler.offsetWidth || 0) / 10;
    case 3:
      return (this$static.relativeRuler.offsetHeight || 0) / 10;
    case 7:
      return (fixedRuler.offsetWidth || 0) * 0.1;
    case 8:
      return (fixedRuler.offsetWidth || 0) * 0.01;
    case 6:
      return (fixedRuler.offsetWidth || 0) * 0.254;
    case 4:
      return (fixedRuler.offsetWidth || 0) * 0.00353;
    case 5:
      return (fixedRuler.offsetWidth || 0) * 0.0423;
    default:case 0:
      return 1;
  }
}

function $initParent(this$static, parent_0){
  parent_0.style['position'] = ($clinit_44() , 'relative');
  parent_0.appendChild(this$static.relativeRuler = createRuler(($clinit_45() , EM), EX));
}

function $layout_0(layer){
  var style;
  style = layer.container.style;
  style['display'] = '';
  style['left'] = layer.setLeft?layer.left_0 + layer.leftUnit.getType():'';
  style['top'] = layer.setTop?layer.top_0 + layer.topUnit.getType():'';
  style['right'] = layer.setRight?layer.right + layer.rightUnit.getType():'';
  style['bottom'] = layer.setBottom?layer.bottom + layer.bottomUnit.getType():'';
  style['width'] = layer.setWidth?layer.width_0 + 'em':'';
  style['height'] = layer.setHeight?layer.height_0 + 'em':'';
  style = layer.child.style;
  switch (2) {
    case 0:
    case 1:
    case 2:
      style['left'] = 0 + ($clinit_45() , 'px');
      style['right'] = '0px';
  }
  switch (2) {
    case 0:
    case 1:
    case 2:
      style['top'] = 0 + ($clinit_45() , 'px');
      style['bottom'] = '0px';
  }
}

function $removeChild_0(container, child){
  var style;
  $removeFromParent_0(container);
  $getParentElement(child) == container && $removeFromParent_0(child);
  style = child.style;
  style['position'] = '';
  style['left'] = '';
  style['top'] = '';
  style['width'] = '';
  style['height'] = '';
}

function LayoutImpl_0(){
  $clinit_57();
}

function createRuler(widthUnit, heightUnit){
  var ruler, style;
  ruler = $doc.createElement('div');
  ruler.innerHTML = '&nbsp;';
  style = ruler.style;
  style['position'] = ($clinit_44() , 'absolute');
  style['zIndex'] = '-32767';
  style['top'] = -20 + heightUnit.getType();
  style['width'] = 10 + widthUnit.getType();
  style['height'] = 10 + heightUnit.getType();
  return ruler;
}

function LayoutImpl(){
}

_ = LayoutImpl_0.prototype = LayoutImpl.prototype = new Object_0;
_.getClass$ = function getClass_198(){
  return Lcom_google_gwt_layout_client_LayoutImpl_2_classLit;
}
;
_.castableTypeMap$ = {};
_.relativeRuler = null;
var fixedRuler = null;
function ImageResourcePrototype_0(url, width, height){
  this.left_0 = 0;
  this.top_0 = 0;
  this.height_0 = height;
  this.width_0 = width;
  this.url = url;
}

function ImageResourcePrototype(){
}

_ = ImageResourcePrototype_0.prototype = ImageResourcePrototype.prototype = new Object_0;
_.getClass$ = function getClass_199(){
  return Lcom_google_gwt_resources_client_impl_ImageResourcePrototype_2_classLit;
}
;
_.castableTypeMap$ = {};
_.height_0 = 0;
_.left_0 = 0;
_.top_0 = 0;
_.url = null;
_.width_0 = 0;
function AbstractRenderer(){
}

_ = AbstractRenderer.prototype = new Object_0;
_.getClass$ = function getClass_200(){
  return Lcom_google_gwt_text_shared_AbstractRenderer_2_classLit;
}
;
_.castableTypeMap$ = {};
function PassthroughParser_0(){
}

function PassthroughParser(){
}

_ = PassthroughParser_0.prototype = PassthroughParser.prototype = new Object_0;
_.getClass$ = function getClass_201(){
  return Lcom_google_gwt_text_shared_testing_PassthroughParser_2_classLit;
}
;
_.castableTypeMap$ = {};
var INSTANCE_0 = null;
function PassthroughRenderer_0(){
}

function PassthroughRenderer(){
}

_ = PassthroughRenderer_0.prototype = PassthroughRenderer.prototype = new AbstractRenderer;
_.getClass$ = function getClass_202(){
  return Lcom_google_gwt_text_shared_testing_PassthroughRenderer_2_classLit;
}
;
_.castableTypeMap$ = {};
var INSTANCE_1 = null;
function $calcNewVelocity(initialVelocity, decelFactor, oldVelocity, minDecel){
  var maxVelocityX, minVelocityX, newVelocity;
  newVelocity = initialVelocity * decelFactor;
  if (oldVelocity >= 0) {
    maxVelocityX = 0 > oldVelocity - minDecel?0:oldVelocity - minDecel;
    newVelocity = newVelocity < maxVelocityX?newVelocity:maxVelocityX;
  }
   else {
    minVelocityX = 0 < oldVelocity + minDecel?0:oldVelocity + minDecel;
    newVelocity = newVelocity > minVelocityX?newVelocity:minVelocityX;
  }
  return newVelocity;
}

function $updateState_0(state){
  var decelFactor, dist, elapsedMillis, ellapsedMillis, initialVelocity, minDecel, newVelocity, newVelocityX, newVelocityY, oldVelocity, position, totalEllapsedMillis;
  ellapsedMillis = state.elapsedMillis;
  totalEllapsedMillis = state.cumulativeElapsedMillis;
  initialVelocity = state.initialVelocity;
  oldVelocity = state.velocity;
  decelFactor = Math.pow(0.9993, totalEllapsedMillis);
  minDecel = ellapsedMillis * 5.0E-4;
  newVelocityX = $calcNewVelocity(initialVelocity.x, decelFactor, oldVelocity.x, minDecel);
  newVelocityY = $calcNewVelocity(initialVelocity.y, decelFactor, oldVelocity.y, minDecel);
  newVelocity = new Point_0(newVelocityX, newVelocityY);
  state.velocity = newVelocity;
  elapsedMillis = state.elapsedMillis;
  dist = $mult(newVelocity, new Point_0(elapsedMillis, elapsedMillis));
  position = state.position_0;
  state.position_0 = new Point_0(position.x + dist.x, position.y + dist.y);
  if (abs(newVelocity.x) < 0.02 && abs(newVelocity.y) < 0.02) {
    return false;
  }
  return true;
}

function DefaultMomentum_0(){
}

function DefaultMomentum(){
}

_ = DefaultMomentum_0.prototype = DefaultMomentum.prototype = new Object_0;
_.getClass$ = function getClass_203(){
  return Lcom_google_gwt_touch_client_DefaultMomentum_2_classLit;
}
;
_.castableTypeMap$ = {};
function Momentum$State_0(initialPosition, initialVelocity){
  this.initialVelocity = initialVelocity;
  this.position_0 = new Point_1(initialPosition);
  this.velocity = new Point_1(initialVelocity);
}

function Momentum$State(){
}

_ = Momentum$State_0.prototype = Momentum$State.prototype = new Object_0;
_.getClass$ = function getClass_204(){
  return Lcom_google_gwt_touch_client_Momentum$State_2_classLit;
}
;
_.castableTypeMap$ = {};
_.cumulativeElapsedMillis = 0;
_.elapsedMillis = 0;
_.initialVelocity = null;
_.position_0 = null;
_.velocity = null;
function $minus(this$static, c){
  return new Point_0(this$static.x - c.x, this$static.y - c.y);
}

function $mult(this$static, c){
  return new Point_0(this$static.x * c.x, this$static.y * c.y);
}

function $plus(this$static, c){
  return new Point_0(this$static.x + c.x, this$static.y + c.y);
}

function Point_0(x, y){
  this.x = x;
  this.y = y;
}

function Point_1(c){
  Point_0.call(this, c.x, c.y);
}

function Point(){
}

_ = Point_1.prototype = Point_0.prototype = Point.prototype = new Object_0;
_.equals$ = function equals_6(obj){
  var c;
  if (!(obj != null && obj.castableTypeMap$ && !!obj.castableTypeMap$[68])) {
    return false;
  }
  c = dynamicCast(obj, 68);
  return this.x == c.x && this.y == c.y;
}
;
_.getClass$ = function getClass_205(){
  return Lcom_google_gwt_touch_client_Point_2_classLit;
}
;
--></script>
<script><!--
_.hashCode$ = function hashCode_8(){
  return ~~Math.max(Math.min(this.x, 2147483647), -2147483648) ^ ~~Math.max(Math.min(this.y, 2147483647), -2147483648);
}
;
_.toString$ = function toString_12(){
  return 'Point(' + this.x + ',' + this.y + ')';
}
;
_.castableTypeMap$ = {68:1};
_.x = 0;
_.y = 0;
function $calculateEndVelocity(from, to){
  var dist, time;
  time = to.time - from.time;
  if (time <= 0) {
    return null;
  }
  dist = $minus(from.point, to.point);
  return new Point_0(dist.x / time, dist.y / time);
}

function $cancelAll(this$static){
  this$static.touching = false;
  this$static.dragging = false;
  this$static.momentumCommand = null;
}

function $getWidgetScrollPosition(this$static){
  return new Point_0(parseInt(this$static.widget.element['scrollLeft']) || 0, parseInt(this$static.widget.element['scrollTop']) || 0);
}

function $onDragEnd(this$static){
  var endVelocity;
  if (!this$static.momentum) {
    return;
  }
  endVelocity = $calculateEndVelocity(this$static.recentTouchPosition, this$static.lastTouchPosition);
  if (endVelocity) {
    this$static.momentumCommand = new TouchScroller$MomentumCommand_0(this$static, endVelocity);
    scheduleFixedDelayImpl(($clinit_41() , this$static.momentumCommand), 16);
  }
}

function $onTouchEnd(this$static){
  if (!this$static.touching) {
    return;
  }
  this$static.touching = false;
  if (this$static.dragging) {
    this$static.dragging = false;
    $onDragEnd(this$static);
  }
}

function $onTouchMove(this$static, event_0){
  var absDiffX, absDiffY, diff, hMax, hMin, hPosition, touch, touchPoint, touchTime, trackingTime, vMax, vPosition, touches, curScrollPosition, diff_0;
  if (!this$static.touching) {
    return;
  }
  touch = (touches = event_0.nativeEvent.touches , touches.length > 0?touches[0]:null);
  touchPoint = new Point_0(touch.pageX, touch.pageY);
  touchTime = (new Date).getTime();
  $setTemporalPoint(this$static.lastTouchPosition, touchPoint, touchTime);
  if (!this$static.dragging) {
    diff = $minus(touchPoint, this$static.startTouchPosition);
    absDiffX = abs(diff.x);
    absDiffY = abs(diff.y);
    if (absDiffX > 5 || absDiffY > 5) {
      if (absDiffX > absDiffY) {
        hPosition = parseInt(this$static.widget.element['scrollLeft']) || 0;
        hMin = $getMinimumHorizontalScrollPosition(this$static.widget.element);
        hMax = $getMaximumHorizontalScrollPosition(this$static.widget.element);
        if (diff.x < 0 && hMax <= hPosition) {
          $cancelAll(this$static);
          return;
        }
         else if (diff.x > 0 && hMin >= hPosition) {
          $cancelAll(this$static);
          return;
        }
      }
       else {
        vPosition = parseInt(this$static.widget.element['scrollTop']) || 0;
        vMax = $getMaximumVerticalScrollPosition(this$static.widget);
        if (diff.y < 0 && vMax <= vPosition) {
          $cancelAll(this$static);
          return;
        }
         else if (diff.y > 0 && 0 >= vPosition) {
          $cancelAll(this$static);
          return;
        }
      }
      this$static.dragging = true;
    }
  }
  event_0.nativeEvent.preventDefault();
  if (this$static.dragging) {
    diff_0 = $minus(this$static.startTouchPosition, this$static.lastTouchPosition.point);
    curScrollPosition = $plus(this$static.startScrollPosition, diff_0);
    this$static.widget.element['scrollLeft'] = ~~Math.max(Math.min(curScrollPosition.x, 2147483647), -2147483648);
    this$static.widget.element['scrollTop'] = ~~Math.max(Math.min(curScrollPosition.y, 2147483647), -2147483648);
    trackingTime = touchTime - this$static.recentTouchPosition.time;
    if (trackingTime > 200 && !!this$static.recentTouchPositionOnDeck) {
      $setTemporalPoint(this$static.recentTouchPosition, this$static.recentTouchPositionOnDeck.point, this$static.recentTouchPositionOnDeck.time);
      this$static.recentTouchPositionOnDeck = null;
    }
     else 
      trackingTime > 100 && !this$static.recentTouchPositionOnDeck && (this$static.recentTouchPositionOnDeck = new TouchScroller$TemporalPoint_1(touchPoint, touchTime));
  }
}

function $onTouchStart(this$static, event_0){
  var startTouchTime, touch, touches;
  if (this$static.touching) {
    return;
  }
  $setBustNextClick(this$static, !!this$static.momentumCommand);
  $cancelAll(this$static);
  this$static.touching = true;
  touch = (touches = event_0.nativeEvent.touches , touches.length > 0?touches[0]:null);
  this$static.startTouchPosition = new Point_0(touch.pageX, touch.pageY);
  startTouchTime = (new Date).getTime();
  $setTemporalPoint(this$static.recentTouchPosition, this$static.startTouchPosition, startTouchTime);
  $setTemporalPoint(this$static.lastTouchPosition, this$static.startTouchPosition, startTouchTime);
  this$static.recentTouchPositionOnDeck = null;
  this$static.startScrollPosition = new Point_0(parseInt(this$static.widget.element['scrollLeft']) || 0, parseInt(this$static.widget.element['scrollTop']) || 0);
}

function $setBustNextClick(this$static, doBust){
  if (doBust && !this$static.bustClickHandler) {
    this$static.bustClickHandler = addNativePreviewHandler(new TouchScroller$5_0(this$static));
  }
   else if (!doBust && !!this$static.bustClickHandler) {
    $removeHandler(this$static.bustClickHandler.real);
    this$static.bustClickHandler = null;
  }
}

function $setMomentum(this$static, momentum){
  this$static.momentum = momentum;
  !momentum && (this$static.momentumCommand = null);
}

function $setTargetWidget(this$static, widget){
  var reg, reg$iterator;
  if (this$static.widget == widget) {
    return;
  }
  $cancelAll(this$static);
  $setBustNextClick(this$static, false);
  if (this$static.widget) {
    for (reg$iterator = new AbstractList$IteratorImpl_0(this$static.handlerRegs); reg$iterator.i < reg$iterator.this$0_0.size_0();) {
      reg = dynamicCast($next_3(reg$iterator), 69);
      $removeHandler(reg.real);
    }
    $clear_0(this$static.handlerRegs);
  }
  this$static.widget = widget;
  if (widget) {
    $add_5(this$static.handlerRegs, $addDomHandler(widget, new TouchScroller$1_0(this$static), ($clinit_52() , $clinit_52() , TYPE_5)));
    $add_5(this$static.handlerRegs, $addDomHandler(widget, new TouchScroller$2_0(this$static), ($clinit_51() , $clinit_51() , TYPE_4)));
    $add_5(this$static.handlerRegs, $addDomHandler(widget, new TouchScroller$3_0(this$static), ($clinit_50() , $clinit_50() , TYPE_3)));
    $add_5(this$static.handlerRegs, $addDomHandler(widget, new TouchScroller$4_0(this$static), ($clinit_49() , $clinit_49() , TYPE_2)));
  }
}

function $setWidgetScrollPosition(this$static, position){
  this$static.widget.element['scrollLeft'] = ~~Math.max(Math.min(position.x, 2147483647), -2147483648);
  this$static.widget.element['scrollTop'] = ~~Math.max(Math.min(position.y, 2147483647), -2147483648);
}

function TouchScroller_0(){
  this.handlerRegs = new ArrayList_0;
  this.lastTouchPosition = new TouchScroller$TemporalPoint_0;
  this.recentTouchPosition = new TouchScroller$TemporalPoint_0;
  $setMomentum(this, new DefaultMomentum_0);
}

function TouchScroller(){
}

_ = TouchScroller_0.prototype = TouchScroller.prototype = new Object_0;
_.getClass$ = function getClass_206(){
  return Lcom_google_gwt_touch_client_TouchScroller_2_classLit;
}
;
_.castableTypeMap$ = {};
_.bustClickHandler = null;
_.dragging = false;
_.momentum = null;
_.momentumCommand = null;
_.recentTouchPositionOnDeck = null;
_.startScrollPosition = null;
_.startTouchPosition = null;
_.touching = false;
_.widget = null;
var isSupported = null;
function TouchScroller$1_0(this$0){
  this.this$0 = this$0;
}

function TouchScroller$1(){
}

_ = TouchScroller$1_0.prototype = TouchScroller$1.prototype = new Object_0;
_.getClass$ = function getClass_207(){
  return Lcom_google_gwt_touch_client_TouchScroller$1_2_classLit;
}
;
_.castableTypeMap$ = {57:1, 78:1};
_.this$0 = null;
function TouchScroller$2_0(this$0){
  this.this$0 = this$0;
}

function TouchScroller$2(){
}

_ = TouchScroller$2_0.prototype = TouchScroller$2.prototype = new Object_0;
_.getClass$ = function getClass_208(){
  return Lcom_google_gwt_touch_client_TouchScroller$2_2_classLit;
}
;
_.castableTypeMap$ = {56:1, 78:1};
_.this$0 = null;
function TouchScroller$3_0(this$0){
  this.this$0 = this$0;
}

function TouchScroller$3(){
}

_ = TouchScroller$3_0.prototype = TouchScroller$3.prototype = new Object_0;
_.getClass$ = function getClass_209(){
  return Lcom_google_gwt_touch_client_TouchScroller$3_2_classLit;
}
;
_.castableTypeMap$ = {54:1, 55:1, 78:1};
_.this$0 = null;
function TouchScroller$4_0(this$0){
  this.this$0 = this$0;
}

function TouchScroller$4(){
}

_ = TouchScroller$4_0.prototype = TouchScroller$4.prototype = new Object_0;
_.getClass$ = function getClass_210(){
  return Lcom_google_gwt_touch_client_TouchScroller$4_2_classLit;
}
;
_.castableTypeMap$ = {52:1, 53:1, 78:1};
_.this$0 = null;
function TouchScroller$5_0(this$0){
  this.this$0 = this$0;
}

function TouchScroller$5(){
}

_ = TouchScroller$5_0.prototype = TouchScroller$5.prototype = new Object_0;
_.getClass$ = function getClass_211(){
  return Lcom_google_gwt_touch_client_TouchScroller$5_2_classLit;
}
;
_.onPreviewNativeEvent = function onPreviewNativeEvent(event_0){
  if (1 == $eventGetTypeInt(event_0.nativeEvent.type)) {
    event_0.nativeEvent.stopPropagation();
    event_0.nativeEvent.preventDefault();
    $setBustNextClick(this.this$0, false);
  }
}
;
_.castableTypeMap$ = {71:1, 78:1};
_.this$0 = null;
function $execute(this$static){
  var cumulativeElapsedMillis, notDone;
  if (this$static != this$static.this$0.momentumCommand) {
    $finish(this$static);
    return false;
  }
  cumulativeElapsedMillis = $elapsedMillis(this$static.duration);
  this$static.state.elapsedMillis = cumulativeElapsedMillis - this$static.lastElapsedMillis;
  this$static.lastElapsedMillis = cumulativeElapsedMillis;
  this$static.state.cumulativeElapsedMillis = cumulativeElapsedMillis;
  notDone = $updateState_0(this$static.state);
  notDone || $finish(this$static);
  $setWidgetScrollPosition(this$static.this$0, this$static.state.position_0);
  return notDone;
}

function $finish(this$static){
  if (this$static.windowResizeHandler) {
    $removeHandler(this$static.windowResizeHandler.real);
    this$static.windowResizeHandler = null;
  }
  if (this$static == this$static.this$0.momentumCommand) {
    this$static.this$0.momentumCommand = null;
    $setBustNextClick(this$static.this$0, false);
  }
}

function TouchScroller$MomentumCommand_0(this$0, endVelocity){
  this.this$0 = this$0;
  this.duration = new Duration_0;
  this.initialPosition = $getWidgetScrollPosition(this.this$0);
  this.state = new Momentum$State_0(this.initialPosition, endVelocity);
  this.windowResizeHandler = addResizeHandler(new TouchScroller$MomentumCommand$1_0(this));
}

function TouchScroller$MomentumCommand(){
}

_ = TouchScroller$MomentumCommand_0.prototype = TouchScroller$MomentumCommand.prototype = new Object_0;
_.getClass$ = function getClass_212(){
  return Lcom_google_gwt_touch_client_TouchScroller$MomentumCommand_2_classLit;
}
;
_.castableTypeMap$ = {};
_.lastElapsedMillis = 0;
_.state = null;
_.this$0 = null;
_.windowResizeHandler = null;
function TouchScroller$MomentumCommand$1_0(this$1){
  this.this$1 = this$1;
}

function TouchScroller$MomentumCommand$1(){
}

_ = TouchScroller$MomentumCommand$1_0.prototype = TouchScroller$MomentumCommand$1.prototype = new Object_0;
_.getClass$ = function getClass_213(){
  return Lcom_google_gwt_touch_client_TouchScroller$MomentumCommand$1_2_classLit;
}
;
_.onResize = function onResize_0(event_0){
  $finish(this.this$1);
}
;
_.castableTypeMap$ = {61:1, 78:1};
_.this$1 = null;
function $setTemporalPoint(this$static, point, time){
  this$static.point = point;
  this$static.time = time;
}

function TouchScroller$TemporalPoint_0(){
}

function TouchScroller$TemporalPoint_1(point, time){
  this.point = point;
  this.time = time;
}

function TouchScroller$TemporalPoint(){
}

_ = TouchScroller$TemporalPoint_1.prototype = TouchScroller$TemporalPoint_0.prototype = TouchScroller$TemporalPoint.prototype = new Object_0;
_.getClass$ = function getClass_214(){
  return Lcom_google_gwt_touch_client_TouchScroller$TemporalPoint_2_classLit;
}
;
_.castableTypeMap$ = {};
_.point = null;
_.time = 0;
function BaseListenerWrapper(){
}

_ = BaseListenerWrapper.prototype = new Object_0;
_.getClass$ = function getClass_215(){
  return Lcom_google_gwt_user_client_BaseListenerWrapper_2_classLit;
}
;
_.castableTypeMap$ = {78:1};
_.listener = null;
function CommandCanceledException_0(){
  $fillInStackTrace();
}

function CommandCanceledException(){
}

_ = CommandCanceledException_0.prototype = CommandCanceledException.prototype = new RuntimeException;
_.getClass$ = function getClass_216(){
  return Lcom_google_gwt_user_client_CommandCanceledException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function $doCommandCanceled(this$static){
  var cmd;
  cmd = $getLast(this$static.iterator);
  $remove_0(this$static.iterator);
  cmd != null && cmd.castableTypeMap$ && !!cmd.castableTypeMap$[70] && new CommandCanceledException_0(dynamicCast(cmd, 70));
  this$static.executing = false;
  $maybeStartExecutionTimer(this$static);
}

function $doExecuteCommands(this$static, startTimeMillis){
  var command, element, wasCanceled;
  wasCanceled = false;
  try {
    this$static.executing = true;
    this$static.iterator.end = this$static.commands.size;
    $schedule(this$static.cancellationTimer, 10000);
    while ($hasNext(this$static.iterator)) {
      element = $next(this$static.iterator);
      try {
        if (element == null) {
          return;
        }
        if (element != null && element.castableTypeMap$ && !!element.castableTypeMap$[70]) {
          command = dynamicCast(element, 70);
          command.execute();
        }
      }
       finally {
        wasCanceled = this$static.iterator.last == -1;
        wasCanceled || $remove_0(this$static.iterator);
      }
      if ((new Date).getTime() - startTimeMillis >= 100) {
        return;
      }
    }
  }
   finally {
    if (!wasCanceled) {
      $cancel_0(this$static.cancellationTimer);
      this$static.executing = false;
      $maybeStartExecutionTimer(this$static);
    }
  }
}

function $maybeStartExecutionTimer(this$static){
  if (this$static.commands.size != 0 && !this$static.executionTimerPending && !this$static.executing) {
    this$static.executionTimerPending = true;
    $schedule(this$static.executionTimer, 1);
  }
}

function $submit(this$static, command){
  $add_5(this$static.commands, command);
  $maybeStartExecutionTimer(this$static);
}

function CommandExecutor_0(){
  this.cancellationTimer = new CommandExecutor$1_0(this);
  this.commands = new ArrayList_0;
  this.executionTimer = new CommandExecutor$2_0(this);
  this.iterator = new CommandExecutor$CircularIterator_0(this);
}

function CommandExecutor(){
}

_ = CommandExecutor_0.prototype = CommandExecutor.prototype = new Object_0;
_.getClass$ = function getClass_217(){
  return Lcom_google_gwt_user_client_CommandExecutor_2_classLit;
}
;
_.castableTypeMap$ = {};
_.executing = false;
_.executionTimerPending = false;
function CommandExecutor$1_0(this$0){
  $clinit_40();
  this.this$0 = this$0;
}

function CommandExecutor$1(){
}

_ = CommandExecutor$1_0.prototype = CommandExecutor$1.prototype = new Timer;
_.getClass$ = function getClass_218(){
  return Lcom_google_gwt_user_client_CommandExecutor$1_2_classLit;
}
;
_.run = function run_1(){
  if (!this.this$0.executing) {
    return;
  }
  $doCommandCanceled(this.this$0);
}
;
_.castableTypeMap$ = {72:1};
_.this$0 = null;
function CommandExecutor$2_0(this$0){
  $clinit_40();
  this.this$0 = this$0;
}

function CommandExecutor$2(){
}

_ = CommandExecutor$2_0.prototype = CommandExecutor$2.prototype = new Timer;
_.getClass$ = function getClass_219(){
  return Lcom_google_gwt_user_client_CommandExecutor$2_2_classLit;
}
;
_.run = function run_2(){
  this.this$0.executionTimerPending = false;
  $doExecuteCommands(this.this$0, (new Date).getTime());
}
;
_.castableTypeMap$ = {72:1};
_.this$0 = null;
function $getLast(this$static){
  return $get_1(this$static.this$0.commands, this$static.last);
}

function $hasNext(this$static){
  return this$static.next < this$static.end;
}

function $next(this$static){
  var command;
  this$static.last = this$static.next;
  command = $get_1(this$static.this$0.commands, this$static.next++);
  this$static.next >= this$static.end && (this$static.next = 0);
  return command;
}

function $remove_0(this$static){
  $remove_10(this$static.this$0.commands, this$static.last);
  --this$static.end;
  this$static.last <= this$static.next && --this$static.next < 0 && (this$static.next = 0);
  this$static.last = -1;
}

function CommandExecutor$CircularIterator_0(this$0){
  this.this$0 = this$0;
}

function CommandExecutor$CircularIterator(){
}

_ = CommandExecutor$CircularIterator_0.prototype = CommandExecutor$CircularIterator.prototype = new Object_0;
_.getClass$ = function getClass_220(){
  return Lcom_google_gwt_user_client_CommandExecutor$CircularIterator_2_classLit;
}
;
_.hasNext = function hasNext(){
  return this.next < this.end;
}
;
_.next_0 = function next_0(){
  return $next(this);
}
;
_.remove_0 = function remove_1(){
  $remove_0(this);
}
;
_.castableTypeMap$ = {};
_.end = 0;
_.last = -1;
_.next = 0;
_.this$0 = null;
function dispatchEvent_0(evt, elem, listener){
  var prevCurrentEvent;
  prevCurrentEvent = currentEvent;
  currentEvent = evt;
  elem == sCaptureElem && $eventGetTypeInt(evt.type) == 8192 && (sCaptureElem = null);
  listener.onBrowserEvent(evt);
  currentEvent = prevCurrentEvent;
}

function isOrHasChild(parent_0, child){
  return parent_0 === child || !!(parent_0.compareDocumentPosition(child) & 16);
}

function previewEvent(evt){
  var ret;
  ret = fire_5(handlers_0, evt);
  if (!ret && !!evt) {
    evt.cancelBubble = true;
    evt.preventDefault();
  }
  return ret;
}

function releaseCapture(elem){
  !!sCaptureElem && elem == sCaptureElem && (sCaptureElem = null);
  $maybeInitializeEventSystem();
  elem === captureElem && (captureElem = null);
}

function setCapture(elem){
  sCaptureElem = elem;
  $maybeInitializeEventSystem();
  captureElem = elem;
}

var currentEvent = null, sCaptureElem = null;
function $clinit_58(){
  $clinit_58 = nullMethod;
  commandExecutor = new CommandExecutor_0;
}

function addCommand(cmd){
  $clinit_58();
  if (!cmd) {
    throw new NullPointerException_1('cmd cannot be null');
  }
  $submit(commandExecutor, cmd);
}

var commandExecutor;
function addNativePreviewHandler(handler){
  $maybeInitializeEventSystem();
  !TYPE_11 && (TYPE_11 = new GwtEvent$Type_0);
  if (!handlers_0) {
    handlers_0 = new HandlerManager_1(null, true);
    singleton = new Event$NativePreviewEvent_0;
  }
  return new LegacyHandlerWrapper_0($doAdd(handlers_0.eventBus, TYPE_11, handler));
}

function sinkEvents_0(elem, eventBits){
  $maybeInitializeEventSystem();
  $sinkEventsImpl(elem, eventBits);
  eventBits & 131072 && elem.addEventListener('DOMMouseScroll', dispatchEvent_1, false);
}

var handlers_0 = null;
function $revive(this$static){
  this$static.dead = false;
  this$static.source = null;
  this$static.isCanceled = false;
  this$static.isConsumed = false;
  this$static.isFirstHandler = true;
  this$static.nativeEvent = null;
}

function Event$NativePreviewEvent_0(){
}

function fire_5(handlers, nativeEvent){
  var lastIsCanceled, lastIsConsumed, lastIsFirstHandler, lastNativeEvent, ret;
  if (!!TYPE_11 && !!handlers && handlers.eventBus.map.containsKey(TYPE_11)) {
    lastIsCanceled = singleton.isCanceled;
    lastIsConsumed = singleton.isConsumed;
    lastIsFirstHandler = singleton.isFirstHandler;
    lastNativeEvent = singleton.nativeEvent;
    $revive(singleton);
    singleton.nativeEvent = nativeEvent;
    $fireEvent_0(handlers, singleton);
    ret = !(singleton.isCanceled && !singleton.isConsumed);
    singleton.isCanceled = lastIsCanceled;
    singleton.isConsumed = lastIsConsumed;
    singleton.isFirstHandler = lastIsFirstHandler;
    singleton.nativeEvent = lastNativeEvent;
    return ret;
  }
  return true;
}

function Event$NativePreviewEvent(){
}

_ = Event$NativePreviewEvent_0.prototype = Event$NativePreviewEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_11(handler){
  dynamicCast(handler, 71).onPreviewNativeEvent(this);
  singleton.isFirstHandler = false;
}
;
_.getAssociatedType = function getAssociatedType_12(){
  return TYPE_11;
}
;
_.getClass$ = function getClass_221(){
  return Lcom_google_gwt_user_client_Event$NativePreviewEvent_2_classLit;
}
;
_.revive = function revive_0(){
  $revive(this);
}
;
_.castableTypeMap$ = {};
_.isCanceled = false;
_.isConsumed = false;
_.isFirstHandler = false;
_.nativeEvent = null;
var TYPE_11 = null, singleton = null;
function $clinit_59(){
  $clinit_59 = nullMethod;
  impl_0 = new HistoryImplMozilla_0;
  $init(impl_0) || (impl_0 = null);
}

function addValueChangeHandler(handler){
  $clinit_59();
  return impl_0?$addValueChangeHandler(impl_0, handler):null;
}

var impl_0 = null;
function Timer$1_0(){
}

function Timer$1(){
}

_ = Timer$1_0.prototype = Timer$1.prototype = new Object_0;
_.getClass$ = function getClass_222(){
  return Lcom_google_gwt_user_client_Timer$1_2_classLit;
}
;
_.onClose = function onClose(event_0){
  while (($clinit_40() , timers).size > 0) {
    $cancel_0(dynamicCast($get_1(timers, 0), 72));
  }
}
;
_.castableTypeMap$ = {60:1, 78:1};
function $getRuntimeValue(){
  var ua = navigator.userAgent.toLowerCase();
  var makeVersion = function(result){
    return parseInt(result[1]) * 1000 + parseInt(result[2]);
  }
  ;
  if (function(){
    return ua.indexOf('opera') != -1;
  }
  ())
    return 'opera';
  if (function(){
    return ua.indexOf('webkit') != -1;
  }
  ())
    return 'safari';
  if (function(){
    return ua.indexOf('msie') != -1 && $doc.documentMode >= 9;
  }
  ())
    return 'ie9';
  if (function(){
    return ua.indexOf('msie') != -1 && $doc.documentMode >= 8;
  }
  ())
    return 'ie8';
  if (function(){
    var result = /msie ([0-9]+)\.([0-9]+)/.exec(ua);
    if (result && result.length == 3)
      return makeVersion(result) >= 6000;
  }
  ())
    return 'ie6';
  if (function(){
    return ua.indexOf('gecko') != -1;
  }
  ())
    return 'gecko1_8';
  return 'unknown';
}

function addCloseHandler(handler){
  maybeInitializeCloseHandlers();
  return addHandler(TYPE_7?TYPE_7:(TYPE_7 = new GwtEvent$Type_0), handler);
}

function addHandler(type, handler){
  return new LegacyHandlerWrapper_0($doAdd((!handlers_1 && (handlers_1 = new Window$WindowHandlers_0) , handlers_1).eventBus, type, handler));
}

function addResizeHandler(handler){
  maybeInitializeCloseHandlers();
  maybeInitializeResizeHandlers();
  return addHandler((!TYPE_8 && (TYPE_8 = new GwtEvent$Type_0) , TYPE_8), handler);
}

function maybeInitializeCloseHandlers(){
  if (!closeHandlersInitialized) {
    $initWindowCloseHandler();
    closeHandlersInitialized = true;
  }
}

function maybeInitializeResizeHandlers(){
  if (!resizeHandlersInitialized) {
    $initWindowResizeHandler();
    resizeHandlersInitialized = true;
  }
}

function onClosing(){
  var event_0;
  if (closeHandlersInitialized) {
    event_0 = new Window$ClosingEvent_0;
    !!handlers_1 && $fireEvent_0(handlers_1, event_0);
    return null;
  }
  return null;
}

function onResize_1(){
  var height, width;
  if (resizeHandlersInitialized) {
    width = $getClientWidth($doc);
    height = $getClientHeight($doc);
    if (lastResizeWidth != width || lastResizeHeight != height) {
      lastResizeWidth = width;
      lastResizeHeight = height;
      fire_2((!handlers_1 && (handlers_1 = new Window$WindowHandlers_0) , handlers_1), height);
    }
  }
}

var closeHandlersInitialized = false, handlers_1 = null, lastResizeHeight = 0, lastResizeWidth = 0, resizeHandlersInitialized = false;
function $clinit_60(){
  $clinit_60 = nullMethod;
  TYPE_12 = new GwtEvent$Type_0;
}

function Window$ClosingEvent_0(){
  $clinit_60();
}

function Window$ClosingEvent(){
}

_ = Window$ClosingEvent_0.prototype = Window$ClosingEvent.prototype = new GwtEvent;
_.dispatch = function dispatch_12(handler){
  throwClassCastExceptionUnlessNull(handler);
  null.nullMethod();
}
;
_.getAssociatedType = function getAssociatedType_13(){
  return TYPE_12;
}
;
_.getClass$ = function getClass_223(){
  return Lcom_google_gwt_user_client_Window$ClosingEvent_2_classLit;
}
;
_.castableTypeMap$ = {};
var TYPE_12;
function Window$WindowHandlers_0(){
  this.eventBus = new HandlerManager$Bus_0(false);
  this.source = null;
}

function Window$WindowHandlers(){
}

_ = Window$WindowHandlers_0.prototype = Window$WindowHandlers.prototype = new HandlerManager;
_.getClass$ = function getClass_224(){
  return Lcom_google_gwt_user_client_Window$WindowHandlers_2_classLit;
}
;
_.castableTypeMap$ = {21:1};
function $eventGetTypeInt(eventType){
  switch (eventType) {
    case 'blur':
      return 4096;
    case 'change':
      return 1024;
    case 'click':
      return 1;
    case 'dblclick':
      return 2;
    case 'focus':
      return 2048;
    case 'keydown':
      return 128;
    case 'keypress':
      return 256;
    case 'keyup':
      return 512;
    case 'load':
      return 32768;
    case 'losecapture':
      return 8192;
    case 'mousedown':
      return 4;
    case 'mousemove':
      return 64;
    case 'mouseout':
      return 32;
    case 'mouseover':
      return 16;
    case 'mouseup':
      return 8;
    case 'scroll':
      return 16384;
    case 'error':
      return 65536;
    case 'DOMMouseScroll':
    case 'mousewheel':
      return 131072;
    case 'contextmenu':
      return 262144;
    case 'paste':
      return 524288;
    case 'touchstart':
      return 1048576;
    case 'touchmove':
      return 2097152;
    case 'touchend':
      return 4194304;
    case 'touchcancel':
      return 8388608;
    case 'gesturestart':
      return 16777216;
    case 'gesturechange':
      return 33554432;
    case 'gestureend':
      return 67108864;
    case 'ended':
      return 134217728;
    case 'progress':
      return 268435456;
    case 'canplaythrough':
      return 536870912;
    default:return -1;
  }
}

function $maybeInitializeEventSystem(){
  if (!eventSystemIsInitialized) {
    $initEventSystem();
    $initSyntheticMouseUpEvents();
    eventSystemIsInitialized = true;
  }
}

function isMyListener(object){
  return !instanceOfJso(object) && object != null && object.castableTypeMap$ && !!object.castableTypeMap$[24];
}

var eventSystemIsInitialized = false;
function $getChild_0(elem, index){
  var count = 0, child = elem.firstChild;
  while (child) {
    if (child.nodeType == 1) {
      if (index == count)
        return child;
      ++count;
    }
    child = child.nextSibling;
  }
  return null;
}

function $getChildIndex_0(parent_0, toFind){
  var count = 0, child = parent_0.firstChild;
  while (child) {
    if (child === toFind) {
      return count;
    }
    child.nodeType == 1 && ++count;
    child = child.nextSibling;
  }
  return -1;
}

function $initEventSystem(){
  dispatchCapturedEvent = $entry(function(evt){
    if (!previewEvent(evt)) {
      evt.stopPropagation();
      evt.preventDefault();
      return false;
    }
    return true;
  }
  );
  dispatchEvent_1 = $entry(function(evt){
    var listener, curElem = this;
    while (curElem && !(listener = curElem.__listener)) {
      curElem = curElem.parentNode;
    }
    curElem && curElem.nodeType != 1 && (curElem = null);
    listener && isMyListener(listener) && dispatchEvent_0(evt, curElem, listener);
  }
  );
  dispatchUnhandledEvent = $entry(function(evt){
    this.__gwtLastUnhandledEvent = evt.type;
    dispatchEvent_1.call(this, evt);
  }
  );
  dispatchCapturedMouseEvent = $entry(function(evt){
    var dispatchCapturedEventFn = dispatchCapturedEvent;
    if (dispatchCapturedEventFn(evt)) {
      var cap = captureElem;
      if (cap && cap.__listener) {
        if (isMyListener(cap.__listener)) {
          dispatchEvent_0(evt, cap, cap.__listener);
          evt.stopPropagation();
        }
      }
    }
  }
  );
  $wnd.addEventListener('click', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('dblclick', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mousedown', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mouseup', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mousemove', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mouseover', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mouseout', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mousewheel', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('keydown', dispatchCapturedEvent, true);
  $wnd.addEventListener('keyup', dispatchCapturedEvent, true);
  $wnd.addEventListener('keypress', dispatchCapturedEvent, true);
  $wnd.addEventListener('touchstart', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('touchmove', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('touchend', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('touchcancel', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('gesturestart', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('gesturechange', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('gestureend', dispatchCapturedMouseEvent, true);
}

function $insertChild(parent_0, toAdd, index){
  var count = 0, child = parent_0.firstChild, before = null;
  while (child) {
    if (child.nodeType == 1) {
      if (count == index) {
        before = child;
        break;
      }
      ++count;
    }
    child = child.nextSibling;
  }
  parent_0.insertBefore(toAdd, before);
}

--></script>
<script><!--
function $sinkEventsImpl(elem, bits){
  var chMask = (elem.__eventBits || 0) ^ bits;
  elem.__eventBits = bits;
  if (!chMask)
    return;
  chMask & 1 && (elem.onclick = bits & 1?dispatchEvent_1:null);
  chMask & 2 && (elem.ondblclick = bits & 2?dispatchEvent_1:null);
  chMask & 4 && (elem.onmousedown = bits & 4?dispatchEvent_1:null);
  chMask & 8 && (elem.onmouseup = bits & 8?dispatchEvent_1:null);
  chMask & 16 && (elem.onmouseover = bits & 16?dispatchEvent_1:null);
  chMask & 32 && (elem.onmouseout = bits & 32?dispatchEvent_1:null);
  chMask & 64 && (elem.onmousemove = bits & 64?dispatchEvent_1:null);
  chMask & 128 && (elem.onkeydown = bits & 128?dispatchEvent_1:null);
  chMask & 256 && (elem.onkeypress = bits & 256?dispatchEvent_1:null);
  chMask & 512 && (elem.onkeyup = bits & 512?dispatchEvent_1:null);
  chMask & 1024 && (elem.onchange = bits & 1024?dispatchEvent_1:null);
  chMask & 2048 && (elem.onfocus = bits & 2048?dispatchEvent_1:null);
  chMask & 4096 && (elem.onblur = bits & 4096?dispatchEvent_1:null);
  chMask & 8192 && (elem.onlosecapture = bits & 8192?dispatchEvent_1:null);
  chMask & 16384 && (elem.onscroll = bits & 16384?dispatchEvent_1:null);
  chMask & 32768 && (elem.onload = bits & 32768?dispatchUnhandledEvent:null);
  chMask & 65536 && (elem.onerror = bits & 65536?dispatchEvent_1:null);
  chMask & 131072 && (elem.onmousewheel = bits & 131072?dispatchEvent_1:null);
  chMask & 262144 && (elem.oncontextmenu = bits & 262144?dispatchEvent_1:null);
  chMask & 524288 && (elem.onpaste = bits & 524288?dispatchEvent_1:null);
  chMask & 1048576 && (elem.ontouchstart = bits & 1048576?dispatchEvent_1:null);
  chMask & 2097152 && (elem.ontouchmove = bits & 2097152?dispatchEvent_1:null);
  chMask & 4194304 && (elem.ontouchend = bits & 4194304?dispatchEvent_1:null);
  chMask & 8388608 && (elem.ontouchcancel = bits & 8388608?dispatchEvent_1:null);
  chMask & 16777216 && (elem.ongesturestart = bits & 16777216?dispatchEvent_1:null);
  chMask & 33554432 && (elem.ongesturechange = bits & 33554432?dispatchEvent_1:null);
  chMask & 67108864 && (elem.ongestureend = bits & 67108864?dispatchEvent_1:null);
}

var captureElem = null, dispatchCapturedEvent = null, dispatchCapturedMouseEvent = null, dispatchEvent_1 = null, dispatchUnhandledEvent = null;
function $initSyntheticMouseUpEvents(){
  $wnd.addEventListener('mouseout', $entry(function(evt){
    var cap = captureElem;
    if (cap && !evt.relatedTarget) {
      if ('html' == evt.target.tagName.toLowerCase()) {
        var muEvent = $doc.createEvent('MouseEvents');
        muEvent.initMouseEvent('mouseup', true, true, $wnd, 0, evt.screenX, evt.screenY, evt.clientX, evt.clientY, evt.ctrlKey, evt.altKey, evt.shiftKey, evt.metaKey, evt.button, null);
        cap.dispatchEvent(muEvent);
      }
    }
  }
  ), true);
  $wnd.addEventListener('DOMMouseScroll', dispatchCapturedMouseEvent, true);
}

function $sinkEvents_0(elem, bits){
  $maybeInitializeEventSystem();
  $sinkEventsImpl(elem, bits);
  bits & 131072 && elem.addEventListener('DOMMouseScroll', dispatchEvent_1, false);
}

function $addValueChangeHandler(this$static, handler){
  return new LegacyHandlerWrapper_0($doAdd(this$static.handlers.eventBus, (!TYPE_10 && (TYPE_10 = new GwtEvent$Type_0) , TYPE_10), handler));
}

function HistoryImpl(){
}

_ = HistoryImpl.prototype = new Object_0;
_.decodeFragment = function decodeFragment(encodedFragment){
  return decodeURI(encodedFragment.replace('%23', '#'));
}
;
_.fireEvent = function fireEvent_1(event_0){
  $fireEvent_0(this.handlers, event_0);
}
;
_.getClass$ = function getClass_225(){
  return Lcom_google_gwt_user_client_impl_HistoryImpl_2_classLit;
}
;
_.newItemOnEvent = function newItemOnEvent(historyToken){
  historyToken = historyToken == null?'':historyToken;
  if (!$equals_1(historyToken, token_1 == null?'':token_1)) {
    token_1 = historyToken;
    fire_4(this, historyToken);
  }
}
;
_.castableTypeMap$ = {21:1};
var token_1 = '';
function $init(this$static){
  var token_0 = '';
  var hash_0 = $wnd.location.hash;
  hash_0.length > 0 && (token_0 = this$static.decodeFragment(hash_0.substring(1)));
  token_1 = token_0;
  var historyImpl = this$static;
  var checkHistory = $entry(function(){
    var token = '', hash = $wnd.location.hash;
    hash.length > 0 && (token = historyImpl.decodeFragment(hash.substring(1)));
    historyImpl.newItemOnEvent(token);
  }
  );
  var checkHistoryCycle = function(){
    $wnd.setTimeout(checkHistoryCycle, 250);
    checkHistory();
  }
  ;
  checkHistoryCycle();
  return true;
}

function HistoryImplTimer(){
}

_ = HistoryImplTimer.prototype = new HistoryImpl;
_.getClass$ = function getClass_226(){
  return Lcom_google_gwt_user_client_impl_HistoryImplTimer_2_classLit;
}
;
_.castableTypeMap$ = {21:1};
function HistoryImplMozilla_0(){
  this.handlers = new HandlerManager_0(null);
}

function HistoryImplMozilla(){
}

_ = HistoryImplMozilla_0.prototype = HistoryImplMozilla.prototype = new HistoryImplTimer;
_.decodeFragment = function decodeFragment_0(encodedFragment){
  return encodedFragment;
}
;
_.getClass$ = function getClass_227(){
  return Lcom_google_gwt_user_client_impl_HistoryImplMozilla_2_classLit;
}
;
_.castableTypeMap$ = {21:1};
function $initWindowCloseHandler(){
  var oldOnBeforeUnload = $wnd.onbeforeunload;
  var oldOnUnload = $wnd.onunload;
  $wnd.onbeforeunload = function(evt){
    var ret, oldRet;
    try {
      ret = $entry(onClosing)();
    }
     finally {
      oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);
    }
    if (ret != null) {
      return ret;
    }
    if (oldRet != null) {
      return oldRet;
    }
  }
  ;
  $wnd.onunload = $entry(function(evt){
    try {
      closeHandlersInitialized && fire_1((!handlers_1 && (handlers_1 = new Window$WindowHandlers_0) , handlers_1));
    }
     finally {
      oldOnUnload && oldOnUnload(evt);
      $wnd.onresize = null;
      $wnd.onscroll = null;
      $wnd.onbeforeunload = null;
      $wnd.onunload = null;
    }
  }
  );
}

function $initWindowResizeHandler(){
  var oldOnResize = $wnd.onresize;
  $wnd.onresize = $entry(function(evt){
    try {
      onResize_1();
    }
     finally {
      oldOnResize && oldOnResize(evt);
    }
  }
  );
}

function IncompatibleRemoteServiceException_0(){
  $fillInStackTrace();
  this.detailMessage = 'This application is out of date, please click the refresh button on your browser.';
}

function IncompatibleRemoteServiceException_1(msg){
  $fillInStackTrace();
  this.detailMessage = 'This application is out of date, please click the refresh button on your browser. ( ' + msg + ' )';
}

function IncompatibleRemoteServiceException_2(cause){
  $fillInStackTrace();
  this.cause = cause;
  this.detailMessage = 'The response could not be deserialized';
}

function IncompatibleRemoteServiceException(){
}

_ = IncompatibleRemoteServiceException_2.prototype = IncompatibleRemoteServiceException_1.prototype = IncompatibleRemoteServiceException_0.prototype = IncompatibleRemoteServiceException.prototype = new RuntimeException;
_.getClass$ = function getClass_228(){
  return Lcom_google_gwt_user_client_rpc_IncompatibleRemoteServiceException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1, 76:1};
function deserialize_47(streamReader, instance){
  instance.detailMessage = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate_47(streamReader){
  return new IncompatibleRemoteServiceException_0;
}

function serialize_44(streamWriter, instance){
  $writeString(streamWriter, instance.detailMessage);
}

function InvocationException_0(s){
  $fillInStackTrace();
  this.cause = null;
  this.detailMessage = s;
}

function InvocationException_1(cause){
  $fillInStackTrace();
  this.cause = cause;
  this.detailMessage = 'Unable to initiate the asynchronous service invocation -- check the network connection';
}

function InvocationException(){
}

_ = InvocationException_1.prototype = InvocationException_0.prototype = InvocationException.prototype = new RuntimeException;
_.getClass$ = function getClass_229(){
  return Lcom_google_gwt_user_client_rpc_InvocationException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function $create(this$static, serviceEntryPoint){
  this$static.builder = new RequestBuilder_0(($clinit_53() , POST), serviceEntryPoint);
  return this$static;
}

function $doFinish(rb){
  $setHeader(rb, 'X-GWT-Permutation', $strongName);
  $setHeader(rb, 'X-GWT-Module-Base', $moduleBase);
}

function $doSetCallback(rb, callback){
  throwIfNull('callback', callback);
  rb.callback = callback;
}

function $finish_0(this$static){
  try {
    $doFinish(this$static.builder);
    return this$static.builder;
  }
   finally {
    this$static.builder = null;
  }
}

function $setCallback(this$static, callback){
  $doSetCallback(this$static.builder, callback);
  return this$static;
}

function $setRequestData(this$static, data){
  this$static.builder.requestData = data;
  return this$static;
}

function RpcRequestBuilder_0(){
}

function RpcRequestBuilder(){
}

_ = RpcRequestBuilder_0.prototype = RpcRequestBuilder.prototype = new Object_0;
_.getClass$ = function getClass_230(){
  return Lcom_google_gwt_user_client_rpc_RpcRequestBuilder_2_classLit;
}
;
_.castableTypeMap$ = {};
_.builder = null;
function RpcTokenException_0(){
  $fillInStackTrace();
  this.detailMessage = 'Invalid RPC token';
}

function RpcTokenException(){
}

_ = RpcTokenException_0.prototype = RpcTokenException.prototype = new RuntimeException;
_.getClass$ = function getClass_231(){
  return Lcom_google_gwt_user_client_rpc_RpcTokenException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1, 76:1};
function deserialize_48(streamReader, instance){
  instance.detailMessage = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate_48(streamReader){
  return new RpcTokenException_0;
}

function SerializationException_0(msg){
  $fillInStackTrace();
  this.detailMessage = msg;
}

function SerializationException(){
}

_ = SerializationException_0.prototype = SerializationException.prototype = new Exception;
_.getClass$ = function getClass_232(){
  return Lcom_google_gwt_user_client_rpc_SerializationException_2_classLit;
}
;
_.castableTypeMap$ = {2:1, 31:1, 42:1};
function ServiceDefTarget$NoServiceEntryPointSpecifiedException_0(){
  $fillInStackTrace();
  this.cause = null;
  this.detailMessage = 'Service implementation URL not specified';
}

function ServiceDefTarget$NoServiceEntryPointSpecifiedException(){
}

_ = ServiceDefTarget$NoServiceEntryPointSpecifiedException_0.prototype = ServiceDefTarget$NoServiceEntryPointSpecifiedException.prototype = new InvocationException;
_.getClass$ = function getClass_233(){
  return Lcom_google_gwt_user_client_rpc_ServiceDefTarget$NoServiceEntryPointSpecifiedException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function StatusCodeException_0(statusCode, encodedResponse){
  $fillInStackTrace();
  this.cause = null;
  this.detailMessage = statusCode + ' ' + encodedResponse;
}

function StatusCodeException(){
}

_ = StatusCodeException_0.prototype = StatusCodeException.prototype = new InvocationException;
_.getClass$ = function getClass_234(){
  return Lcom_google_gwt_user_client_rpc_StatusCodeException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function serialize_45(streamWriter, instance){
  $writeString(streamWriter, instance.nullField);
}

function deserialize_49(streamReader, instance){
}

function instantiate_49(streamReader){
  return $clinit_77() , streamReader.results[--streamReader.index_0]?TRUE:FALSE;
}

function serialize_46(streamWriter, instance){
  append(streamWriter.encodeBuffer, instance.value_0?'1':'0');
}

function deserialize_50(streamReader, instance){
  instance.detailMessage = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate_50(streamReader){
  return new IllegalArgumentException_0;
}

function deserialize_51(streamReader, instance){
}

function instantiate_51(streamReader){
  return valueOf_1(streamReader.results[--streamReader.index_0]);
}

function serialize_47(streamWriter, instance){
  append(streamWriter.encodeBuffer, '' + instance.value_0);
}

function deserialize_52(streamReader, instance){
  instance.detailMessage = $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function instantiate_52(streamReader){
  return new NumberFormatException_0;
}

function deserialize_53(streamReader, instance){
}

function instantiate_53(streamReader){
  return $getString(streamReader, streamReader.results[--streamReader.index_0]);
}

function serialize_48(streamWriter, instance){
  append(streamWriter.encodeBuffer, '' + $addString(streamWriter, instance));
}

function deserialize_54(streamReader, instance){
}

function instantiate_54(streamReader){
  var s;
  return new Date_4((s = streamReader.results[--streamReader.index_0] , longFromBase64(s)));
}

function serialize_49(streamWriter, instance){
  append(streamWriter.encodeBuffer, toBase64(fromDouble(instance.jsdate.getTime())));
}

function deserialize_55(streamReader, instance){
}

function instantiate_55(streamReader){
  var s;
  return new Time_0((s = streamReader.results[--streamReader.index_0] , longFromBase64(s)));
}

function serialize_50(streamWriter, instance){
  append(streamWriter.encodeBuffer, toBase64(fromDouble(instance.jsdate.getTime())));
}

function deserialize_56(streamReader, instance){
  $setNanos(instance, streamReader.results[--streamReader.index_0]);
}

function instantiate_56(streamReader){
  var s;
  return new Timestamp_0((s = streamReader.results[--streamReader.index_0] , longFromBase64(s)));
}

function serialize_51(streamWriter, instance){
  append(streamWriter.encodeBuffer, toBase64(fromDouble(instance.jsdate.getTime())));
  append(streamWriter.encodeBuffer, '' + instance.nanos);
}

function deserialize_57(streamReader, instance){
  deserialize_58(streamReader, instance);
}

function serialize_52(streamWriter, instance){
  serialize_53(streamWriter, instance);
}

function instantiate_57(streamReader){
  return new ArrayList_0;
}

function deserialize_58(streamReader, instance){
  var i, obj, size;
  size = streamReader.results[--streamReader.index_0];
  for (i = 0; i < size; ++i) {
    obj = $readObject(streamReader);
    instance.add_1(obj);
  }
}

function serialize_53(streamWriter, instance){
  var obj, obj$iterator, size;
  size = instance.size_0();
  append(streamWriter.encodeBuffer, '' + size);
  for (obj$iterator = instance.iterator_0(); obj$iterator.hasNext();) {
    obj = obj$iterator.next_0();
    $writeObject(streamWriter, obj);
  }
}

function deserialize_59(streamReader, instance){
}

function instantiate_58(streamReader){
  var s;
  return new Date_2((s = streamReader.results[--streamReader.index_0] , longFromBase64(s)));
}

function serialize_54(streamWriter, instance){
  append(streamWriter.encodeBuffer, toBase64(instance.getTime_0()));
}

function deserialize_60(streamReader, instance){
  deserialize_58(streamReader, instance);
}

function instantiate_59(streamReader){
  return new LinkedHashSet_0;
}

function serialize_55(streamWriter, instance){
  serialize_53(streamWriter, instance);
}

function AbstractSerializationStream(){
}

_ = AbstractSerializationStream.prototype = new Object_0;
_.getClass$ = function getClass_235(){
  return Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStream_2_classLit;
}
;
_.castableTypeMap$ = {};
_.flags = 0;
_.version = 7;
function $readObject(this$static){
  var token, typeSignature, id, instance;
  token = this$static.results[--this$static.index_0];
  if (token < 0) {
    return $get_1(this$static.seenArray, -(token + 1));
  }
  typeSignature = token > 0?this$static.stringTable[token - 1]:null;
  if (typeSignature == null) {
    return null;
  }
  return id = ($add_5(this$static.seenArray, null) , this$static.seenArray.size) , instance = $instantiate(this$static.serializer, this$static, typeSignature) , $set(this$static.seenArray, id - 1, instance) , $deserialize(this$static.serializer, this$static, instance, typeSignature) , instance;
}

function AbstractSerializationStreamReader(){
}

_ = AbstractSerializationStreamReader.prototype = new AbstractSerializationStream;
_.getClass$ = function getClass_236(){
  return Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_2_classLit;
}
;
_.castableTypeMap$ = {};
function $addString(this$static, string){
  var index, o;
  if (string == null) {
    return 0;
  }
  o = dynamicCast(this$static.stringMap.get(string), 37);
  if (o) {
    return o.value_0;
  }
  $add_5(this$static.stringTable, string);
  index = this$static.stringTable.size;
  this$static.stringMap.put(string, valueOf_1(index));
  return index;
}

function $writeObject(this$static, instance){
  var objIndex, typeSignature;
  if (instance == null) {
    append(this$static.encodeBuffer, '' + $addString(this$static, null));
    return;
  }
  objIndex = $containsKey(this$static.objectMap, instance)?dynamicCast($get_0(this$static.objectMap, instance), 37).value_0:-1;
  if (objIndex >= 0) {
    append(this$static.encodeBuffer, '' + -(objIndex + 1));
    return;
  }
  $put(this$static.objectMap, instance, valueOf_1(this$static.objectCount++));
  typeSignature = $getObjectTypeSignature(this$static, instance);
  append(this$static.encodeBuffer, '' + $addString(this$static, typeSignature));
  $serialize(this$static.serializer, this$static, instance, typeSignature);
}

function $writeString(this$static, value){
  append(this$static.encodeBuffer, '' + $addString(this$static, value));
}

function AbstractSerializationStreamWriter(){
}

_ = AbstractSerializationStreamWriter.prototype = new AbstractSerializationStream;
_.getClass$ = function getClass_237(){
  return Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamWriter_2_classLit;
}
;
_.castableTypeMap$ = {};
_.objectCount = 0;
function $getString(this$static, index){
  return index > 0?this$static.stringTable[index - 1]:null;
}

function $prepareToRead(this$static, encoded){
  this$static.results = eval(encoded);
  this$static.index_0 = this$static.results.length;
  $clear_0(this$static.seenArray);
  this$static.version = this$static.results[--this$static.index_0];
  this$static.flags = this$static.results[--this$static.index_0];
  if (this$static.version != 7) {
    throw new IncompatibleRemoteServiceException_1('Expecting version 7 from server, got ' + this$static.version + '.');
  }
  if (((this$static.flags | 3) ^ 3) != 0) {
    throw new IncompatibleRemoteServiceException_1('Got an unknown flag from server: ' + this$static.flags);
  }
  this$static.stringTable = this$static.results[--this$static.index_0];
}

function ClientSerializationStreamReader_0(serializer){
  this.seenArray = new ArrayList_0;
  this.serializer = serializer;
}

function ClientSerializationStreamReader(){
}

_ = ClientSerializationStreamReader_0.prototype = ClientSerializationStreamReader.prototype = new AbstractSerializationStreamReader;
_.getClass$ = function getClass_238(){
  return Lcom_google_gwt_user_client_rpc_impl_ClientSerializationStreamReader_2_classLit;
}
;
_.castableTypeMap$ = {};
_.index_0 = 0;
_.results = null;
_.serializer = null;
_.stringTable = null;
function $clinit_61(){
  $clinit_61 = nullMethod;
  regex_0 = getQuotingRegex();
}

function $getObjectTypeSignature(this$static, o){
  var clazz, e, clazz_0, superclass;
  clazz = getClass__devirtual$(o);
  if (o != null && o.castableTypeMap$ && !!o.castableTypeMap$[36]) {
    e = dynamicCast(o, 36);
    clazz = (clazz_0 = e.getClass$() , superclass = clazz_0.enumSuperclass , superclass == Ljava_lang_Enum_2_classLit?clazz_0:superclass);
  }
  return $getSerializationSignature(this$static.serializer, clazz);
}

function $toString_1(this$static){
  var buffer;
  buffer = new StringBuffer_0;
  append(buffer, '' + this$static.version);
  append(buffer, '' + this$static.flags);
  $writeStringTable(this$static, buffer);
  $append(buffer, this$static.encodeBuffer.impl.string);
  return buffer.impl.string;
}

function $writeStringTable(this$static, buffer){
  var s, s$iterator, stringTable;
  stringTable = this$static.stringTable;
  append(buffer, '' + stringTable.size);
  for (s$iterator = new AbstractList$IteratorImpl_0(stringTable); s$iterator.i < s$iterator.this$0_0.size_0();) {
    s = dynamicCast($next_3(s$iterator), 1);
    append(buffer, quoteString(s));
  }
  return buffer;
}

function ClientSerializationStreamWriter_0(serializer, moduleBaseURL, serializationPolicyStrongName){
  $clinit_61();
  this.objectMap = new IdentityHashMap_0;
  this.stringMap = new HashMap_0;
  this.stringTable = new ArrayList_0;
  this.serializer = serializer;
  this.moduleBaseURL = moduleBaseURL;
  this.serializationPolicyStrongName = serializationPolicyStrongName;
}

function append(sb, token){
  $clinit_61();
  sb.impl.string += token;
  sb.impl.string += '|';
}

function getQuotingRegex(){
  var ua = navigator.userAgent.toLowerCase();
  if (ua.indexOf('android') != -1) {
    return /[\u0000\|\\\u0080-\uFFFF]/g;
  }
   else if (ua.indexOf('webkit') != -1) {
    return /[\u0000\|\\\u0300-\u03ff\u0590-\u05FF\u0600-\u06ff\u0730-\u074A\u07eb-\u07f3\u0940-\u0963\u0980-\u09ff\u0a00-\u0a7f\u0b00-\u0b7f\u0e00-\u0e7f\u0f00-\u0fff\u1900-\u194f\u1a00-\u1a1f\u1b00-\u1b7f\u1dc0-\u1dff\u1f00-\u1fff\u2000-\u206f\u20d0-\u20ff\u2100-\u214f\u2300-\u23ff\u2a00-\u2aff\u3000-\u303f\uD800-\uFFFF]/g;
  }
   else {
    return /[\u0000\|\\\uD800-\uFFFF]/g;
  }
}

function quoteString(str){
  var regex = regex_0;
  var idx = 0;
  var out = '';
  var result;
  while ((result = regex.exec(str)) != null) {
    out += str.substring(idx, result.index);
    idx = result.index + 1;
    var ch = result[0].charCodeAt(0);
    if (ch == 0) {
      out += '\\0';
    }
     else if (ch == 92) {
      out += '\\\\';
    }
     else if (ch == 124) {
      out += '\\!';
    }
     else {
      var hex = ch.toString(16);
      out += '\\u0000'.substring(0, 6 - hex.length) + hex;
    }
  }
  return out + str.substring(idx);
}

function ClientSerializationStreamWriter(){
}

_ = ClientSerializationStreamWriter_0.prototype = ClientSerializationStreamWriter.prototype = new AbstractSerializationStreamWriter;
_.getClass$ = function getClass_239(){
  return Lcom_google_gwt_user_client_rpc_impl_ClientSerializationStreamWriter_2_classLit;
}
;
_.toString$ = function toString_13(){
  return $toString_1(this);
}
;
_.castableTypeMap$ = {};
_.encodeBuffer = null;
_.moduleBaseURL = null;
_.serializationPolicyStrongName = null;
_.serializer = null;
var regex_0;
function $onResponseReceived(this$static, response){
  var $e0, caught, e, encodedResponse, result, statusCode;
  result = null;
  caught = null;
  try {
    encodedResponse = response.val$xmlHttpRequest.responseText;
    statusCode = response.val$xmlHttpRequest.status;
    !!$stats && $stats($bytesStat(this$static.statsContext, this$static.methodName, encodedResponse.length, 'responseReceived'));
    statusCode != 200?(caught = new StatusCodeException_0(statusCode, encodedResponse)):encodedResponse == null?(caught = new InvocationException_0('No response payload')):encodedResponse.indexOf('//OK') == 0?(result = this$static.responseReader.read($createStreamReader(this$static.streamFactory, encodedResponse))):encodedResponse.indexOf('//EX') == 0?(caught = dynamicCast($readObject($createStreamReader(this$static.streamFactory, encodedResponse)), 42)):(caught = new InvocationException_0(encodedResponse));
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 2)) {
      e = $e0;
      caught = new IncompatibleRemoteServiceException_2(e);
    }
     else if (instanceOf($e0, 42)) {
      e = $e0;
      caught = e;
    }
     else 
      throw $e0;
  }
   finally {
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:this$static.statsContext.requestId, method:this$static.methodName, millis:(new Date).getTime(), type:'responseDeserialized'});
  }
  try {
    !caught?this$static.callback.onSuccess(result):this$static.callback.onFailure(caught);
  }
   finally {
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:this$static.statsContext.requestId, method:this$static.methodName, millis:(new Date).getTime(), type:'end'});
  }
}

function RequestCallbackAdapter_0(streamFactory, methodName, statsContext, callback, responseReader){
  this.streamFactory = streamFactory;
  this.callback = callback;
  this.methodName = methodName;
  this.statsContext = statsContext;
  this.responseReader = responseReader;
}

function RequestCallbackAdapter(){
}

_ = RequestCallbackAdapter_0.prototype = RequestCallbackAdapter.prototype = new Object_0;
_.getClass$ = function getClass_240(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_2_classLit;
}
;
_.castableTypeMap$ = {};
_.callback = null;
_.methodName = null;
_.responseReader = null;
_.statsContext = null;
_.streamFactory = null;
function $clinit_62(){
  $clinit_62 = nullMethod;
  BOOLEAN = new RequestCallbackAdapter$ResponseReader$1_0;
  BYTE = new RequestCallbackAdapter$ResponseReader$2_0;
  CHAR = new RequestCallbackAdapter$ResponseReader$3_0;
  DOUBLE = new RequestCallbackAdapter$ResponseReader$4_0;
  FLOAT = new RequestCallbackAdapter$ResponseReader$5_0;
  INT = new RequestCallbackAdapter$ResponseReader$6_0;
  LONG = new RequestCallbackAdapter$ResponseReader$7_0;
  OBJECT = new RequestCallbackAdapter$ResponseReader$8_0;
  SHORT = new RequestCallbackAdapter$ResponseReader$9_0;
  STRING = new RequestCallbackAdapter$ResponseReader$10_0;
  VOID = new RequestCallbackAdapter$ResponseReader$11_0;
  $VALUES_5 = initValues(_3Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, {31:1}, 25, [BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, OBJECT, SHORT, STRING, VOID]);
}

function values_6(){
  $clinit_62();
  return $VALUES_5;
}

function RequestCallbackAdapter$ResponseReader(){
}

_ = RequestCallbackAdapter$ResponseReader.prototype = new Enum;
_.getClass$ = function getClass_241(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit;
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
var $VALUES_5, BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, OBJECT, SHORT, STRING, VOID;
function RequestCallbackAdapter$ResponseReader$1_0(){
  this.name_0 = 'BOOLEAN';
  this.ordinal = 0;
}

function RequestCallbackAdapter$ResponseReader$1(){
}

_ = RequestCallbackAdapter$ResponseReader$1_0.prototype = RequestCallbackAdapter$ResponseReader$1.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_242(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$1_2_classLit;
}
;
_.read = function read(streamReader){
  return $clinit_77() , streamReader.results[--streamReader.index_0]?TRUE:FALSE;
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$10_0(){
  this.name_0 = 'STRING';
  this.ordinal = 9;
}

function RequestCallbackAdapter$ResponseReader$10(){
}

_ = RequestCallbackAdapter$ResponseReader$10_0.prototype = RequestCallbackAdapter$ResponseReader$10.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_243(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$10_2_classLit;
}
;
_.read = function read_0(streamReader){
  return $getString(streamReader, streamReader.results[--streamReader.index_0]);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$11_0(){
  this.name_0 = 'VOID';
  this.ordinal = 10;
}

function RequestCallbackAdapter$ResponseReader$11(){
}

_ = RequestCallbackAdapter$ResponseReader$11_0.prototype = RequestCallbackAdapter$ResponseReader$11.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_244(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$11_2_classLit;
}
;
_.read = function read_1(streamReader){
  return null;
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$2_0(){
  this.name_0 = 'BYTE';
  this.ordinal = 1;
}

function RequestCallbackAdapter$ResponseReader$2(){
}

_ = RequestCallbackAdapter$ResponseReader$2_0.prototype = RequestCallbackAdapter$ResponseReader$2.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_245(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$2_2_classLit;
}
;
_.read = function read_2(streamReader){
  return valueOf(streamReader.results[--streamReader.index_0]);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$3_0(){
  this.name_0 = 'CHAR';
  this.ordinal = 2;
}

function RequestCallbackAdapter$ResponseReader$3(){
}

_ = RequestCallbackAdapter$ResponseReader$3_0.prototype = RequestCallbackAdapter$ResponseReader$3.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_246(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$3_2_classLit;
}
;
_.read = function read_3(streamReader){
  return valueOf_0(streamReader.results[--streamReader.index_0]);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$4_0(){
  this.name_0 = 'DOUBLE';
  this.ordinal = 3;
}

function RequestCallbackAdapter$ResponseReader$4(){
}

_ = RequestCallbackAdapter$ResponseReader$4_0.prototype = RequestCallbackAdapter$ResponseReader$4.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_247(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$4_2_classLit;
}
;
_.read = function read_4(streamReader){
  return new Double_0(streamReader.results[--streamReader.index_0]);
}
;
--></script>
<script><!--
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$5_0(){
  this.name_0 = 'FLOAT';
  this.ordinal = 4;
}

function RequestCallbackAdapter$ResponseReader$5(){
}

_ = RequestCallbackAdapter$ResponseReader$5_0.prototype = RequestCallbackAdapter$ResponseReader$5.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_248(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$5_2_classLit;
}
;
_.read = function read_5(streamReader){
  return new Float_0(streamReader.results[--streamReader.index_0]);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$6_0(){
  this.name_0 = 'INT';
  this.ordinal = 5;
}

function RequestCallbackAdapter$ResponseReader$6(){
}

_ = RequestCallbackAdapter$ResponseReader$6_0.prototype = RequestCallbackAdapter$ResponseReader$6.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_249(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$6_2_classLit;
}
;
_.read = function read_6(streamReader){
  return valueOf_1(streamReader.results[--streamReader.index_0]);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$7_0(){
  this.name_0 = 'LONG';
  this.ordinal = 6;
}

function RequestCallbackAdapter$ResponseReader$7(){
}

_ = RequestCallbackAdapter$ResponseReader$7_0.prototype = RequestCallbackAdapter$ResponseReader$7.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_250(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$7_2_classLit;
}
;
_.read = function read_7(streamReader){
  var s;
  return valueOf_2((s = streamReader.results[--streamReader.index_0] , longFromBase64(s)));
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$8_0(){
  this.name_0 = 'OBJECT';
  this.ordinal = 7;
}

function RequestCallbackAdapter$ResponseReader$8(){
}

_ = RequestCallbackAdapter$ResponseReader$8_0.prototype = RequestCallbackAdapter$ResponseReader$8.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_251(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$8_2_classLit;
}
;
_.read = function read_8(streamReader){
  return $readObject(streamReader);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function RequestCallbackAdapter$ResponseReader$9_0(){
  this.name_0 = 'SHORT';
  this.ordinal = 8;
}

function RequestCallbackAdapter$ResponseReader$9(){
}

_ = RequestCallbackAdapter$ResponseReader$9_0.prototype = RequestCallbackAdapter$ResponseReader$9.prototype = new RequestCallbackAdapter$ResponseReader;
_.getClass$ = function getClass_252(){
  return Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$9_2_classLit;
}
;
_.read = function read_9(streamReader){
  return valueOf_3(streamReader.results[--streamReader.index_0]);
}
;
_.castableTypeMap$ = {25:1, 31:1, 35:1, 36:1};
function $bytesStat(this$static, method, bytes, eventType){
  var stat = this$static.timeStat(method, eventType);
  stat.bytes = bytes;
  return stat;
}

function RpcStatsContext_0(){
  this.requestId = requestIdCounter++;
}

function RpcStatsContext(){
}

_ = RpcStatsContext_0.prototype = RpcStatsContext.prototype = new Object_0;
_.getClass$ = function getClass_253(){
  return Lcom_google_gwt_user_client_rpc_impl_RpcStatsContext_2_classLit;
}
;
_.timeStat = function timeStat(method, eventType){
  return {moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:this.requestId, method:method, millis:(new Date).getTime(), type:eventType};
}
;
_.castableTypeMap$ = {};
_.requestId = 0;
var requestIdCounter = 0;
function $deserialize_0(this$static, stream, instance, signature){
  this$static[signature][1](stream, instance);
}

function $instantiate_0(this$static, stream, signature){
  return this$static[signature][0](stream);
}

function $serialize_0(this$static, stream, instance, signature){
  this$static[signature][2](stream, instance);
}

function $add(this$static, child, container){
  $removeFromParent(child);
  $add_4(this$static.children, child);
  container.appendChild(child.element);
  $setParent(child, this$static);
}

function $adjustIndex(this$static, child, beforeIndex){
  var idx;
  $checkIndexBoundsForInsertion(this$static, beforeIndex);
  if (child.parent_0 == this$static) {
    idx = $indexOf(this$static.children, child);
    idx < beforeIndex && --beforeIndex;
  }
  return beforeIndex;
}

function $checkIndexBoundsForAccess(this$static, index){
  if (index < 0 || index >= this$static.children.size) {
    throw new IndexOutOfBoundsException_0;
  }
}

function $checkIndexBoundsForInsertion(this$static, index){
  if (index < 0 || index > this$static.children.size) {
    throw new IndexOutOfBoundsException_0;
  }
}

function $insert(this$static, child, container, beforeIndex, domInsert){
  beforeIndex = $adjustIndex(this$static, child, beforeIndex);
  $removeFromParent(child);
  $insert_3(this$static.children, child, beforeIndex);
  domInsert?$insertChild(container, child.element, beforeIndex):container.appendChild(child.element);
  $setParent(child, this$static);
}

function $remove_1(this$static, w){
  var elem;
  if (w.parent_0 != this$static) {
    return false;
  }
  try {
    $setParent(w, null);
  }
   finally {
    elem = w.element;
    $getParentElement(elem).removeChild(elem);
    $remove_7(this$static.children, w);
  }
  return true;
}

function ComplexPanel(){
}

_ = ComplexPanel.prototype = new Panel;
_.getClass$ = function getClass_254(){
  return Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit;
}
;
_.iterator_0 = function iterator_0(){
  return new WidgetCollection$WidgetIterator_0(this.children);
}
;
_.remove = function remove_2(w){
  return $remove_1(this, w);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
function $add_0(this$static, w){
  $add(this$static, w, this$static.element);
}

function $remove_2(this$static, w){
  var removed;
  removed = $remove_1(this$static, w);
  removed && changeToStaticPositioning(w.element);
  return removed;
}

function changeToStaticPositioning(elem){
  elem.style['left'] = '';
  elem.style['top'] = '';
  elem.style['position'] = '';
}

function AbsolutePanel(){
}

_ = AbsolutePanel.prototype = new ComplexPanel;
_.getClass$ = function getClass_255(){
  return Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit;
}
;
_.remove = function remove_3(w){
  var removed;
  return removed = $remove_1(this, w) , removed && changeToStaticPositioning(w.element) , removed;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
function create_1(resource){
  return new ClippedImagePrototype_0(resource.url, resource.left_0, resource.top_0, resource.width_0, resource.height_0);
}

function AbstractImagePrototype(){
}

_ = AbstractImagePrototype.prototype = new Object_0;
_.getClass$ = function getClass_256(){
  return Lcom_google_gwt_user_client_ui_AbstractImagePrototype_2_classLit;
}
;
_.castableTypeMap$ = {};
function $onAttach_0(this$static){
  var tabIndex;
  $onAttach(this$static);
  tabIndex = this$static.getTabIndex();
  -1 == tabIndex && this$static.setTabIndex(0);
}

function FocusWidget(){
}

_ = FocusWidget.prototype = new Widget;
_.getClass$ = function getClass_257(){
  return Lcom_google_gwt_user_client_ui_FocusWidget_2_classLit;
}
;
_.getTabIndex = function getTabIndex(){
  return this.element.tabIndex;
}
;
_.onAttach = function onAttach_1(){
  $onAttach_0(this);
}
;
_.setTabIndex = function setTabIndex(index){
  this.element.tabIndex = index;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function Anchor_1(text){
  this.element = $doc.createElement('a');
  this.element['className'] = 'gwt-Anchor';
  this.directionalTextHelper = new DirectionalTextHelper_0(this.element);
  $setTextOrHtml(this.directionalTextHelper, text, false);
  this.element.href = 'javascript:;';
}

function Anchor_0(){
}

_ = Anchor_1.prototype = Anchor_0.prototype = new FocusWidget;
_.getClass$ = function getClass_258(){
  return Lcom_google_gwt_user_client_ui_Anchor_2_classLit;
}
;
_.getTabIndex = function getTabIndex_0(){
  return this.element.tabIndex;
}
;
_.setTabIndex = function setTabIndex_0(index){
  this.element.tabIndex = index;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.directionalTextHelper = null;
function $clinit_63(){
  $clinit_63 = nullMethod;
  attachCommand = new AttachDetachException$1_0;
  detachCommand = new AttachDetachException$2_0;
}

function AttachDetachException_0(causes){
  UmbrellaException_1.call(this, causes);
}

function tryCommand(hasWidgets, c){
  var old;
  $clinit_63();
  var $e0, caught, e, w, w$iterator;
  caught = null;
  for (w$iterator = hasWidgets.iterator_0(); w$iterator.hasNext();) {
    w = dynamicCast(w$iterator.next_0(), 30);
    try {
      c.execute_0(w);
    }
     catch ($e0) {
      $e0 = caught_0($e0);
      if (instanceOf($e0, 42)) {
        e = $e0;
        !caught && (caught = new HashSet_0);
        old = caught.map.put(e, caught);
      }
       else 
        throw $e0;
    }
  }
  if (caught) {
    throw new AttachDetachException_0(caught);
  }
}

function AttachDetachException(){
}

_ = AttachDetachException_0.prototype = AttachDetachException.prototype = new UmbrellaException;
_.getClass$ = function getClass_259(){
  return Lcom_google_gwt_user_client_ui_AttachDetachException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1, 64:1};
var attachCommand, detachCommand;
function AttachDetachException$1_0(){
}

function AttachDetachException$1(){
}

_ = AttachDetachException$1_0.prototype = AttachDetachException$1.prototype = new Object_0;
_.execute_0 = function execute_0(w){
  w.onAttach();
}
;
_.getClass$ = function getClass_260(){
  return Lcom_google_gwt_user_client_ui_AttachDetachException$1_2_classLit;
}
;
_.castableTypeMap$ = {};
function AttachDetachException$2_0(){
}

function AttachDetachException$2(){
}

_ = AttachDetachException$2_0.prototype = AttachDetachException$2.prototype = new Object_0;
_.execute_0 = function execute_1(w){
  w.onDetach();
}
;
_.getClass$ = function getClass_261(){
  return Lcom_google_gwt_user_client_ui_AttachDetachException$2_2_classLit;
}
;
_.castableTypeMap$ = {};
function ButtonBase(){
}

_ = ButtonBase.prototype = new FocusWidget;
_.getClass$ = function getClass_262(){
  return Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function Button_0(html){
  var e;
  this.element = (e = $doc.createElement('BUTTON') , e.type = 'button' , e);
  this.element['className'] = 'gwt-Button';
  this.element.innerHTML = html || '';
}

function Button(){
}

_ = Button_0.prototype = Button.prototype = new ButtonBase;
_.getClass$ = function getClass_263(){
  return Lcom_google_gwt_user_client_ui_Button_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function $getWidgetTd(this$static, w){
  var parent_0;
  if (w.parent_0 != this$static) {
    return null;
  }
  return parent_0 = w.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0;
}

function CellPanel_0(){
  this.children = new WidgetCollection_0(this);
  this.table = $doc.createElement('table');
  this.body_0 = $doc.createElement('tbody');
  this.table.appendChild(this.body_0);
  this.element = this.table;
}

function CellPanel(){
}

_ = CellPanel.prototype = new ComplexPanel;
_.getClass$ = function getClass_264(){
  return Lcom_google_gwt_user_client_ui_CellPanel_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.body_0 = null;
_.table = null;
function $addValueChangeHandler_0(this$static, handler){
  if (!this$static.valueChangeHandlerInitialized) {
    $addDomHandler(this$static, new CheckBox$1_0(this$static), ($clinit_47() , $clinit_47() , TYPE_0));
    this$static.valueChangeHandlerInitialized = true;
  }
  return $addHandler(this$static, handler, (!TYPE_10 && (TYPE_10 = new GwtEvent$Type_0) , TYPE_10));
}

function $getValue(this$static){
  return this$static.attached?($clinit_77() , this$static.inputElem.checked?TRUE:FALSE):($clinit_77() , this$static.inputElem.defaultChecked?TRUE:FALSE);
}

function $setValue(this$static, value){
  var oldValue;
  !value && (value = ($clinit_77() , FALSE));
  oldValue = this$static.attached?($clinit_77() , this$static.inputElem.checked?TRUE:FALSE):($clinit_77() , this$static.inputElem.defaultChecked?TRUE:FALSE);
  this$static.inputElem.checked = value.value_0;
  this$static.inputElem.defaultChecked = value.value_0;
  if (!!oldValue && oldValue.value_0 == value.value_0) {
    return;
  }
}

function CheckBox_0(){
  var e;
  CheckBox_2.call(this, (e = $doc.createElement('INPUT') , e.type = 'checkbox' , e.value = 'on' , e));
  this.element['className'] = 'gwt-CheckBox';
}

function CheckBox_1(label){
  CheckBox_0.call(this);
  $setTextOrHtml(this.directionalTextHelper, label, false);
}

function CheckBox_2(elem){
  var uid;
  this.element = $doc.createElement('span');
  this.inputElem = elem;
  this.labelElem = $doc.createElement('label');
  this.element.appendChild(this.inputElem);
  this.element.appendChild(this.labelElem);
  uid = $createUniqueId($doc);
  this.inputElem['id'] = uid;
  this.labelElem.htmlFor = uid;
  this.directionalTextHelper = new DirectionalTextHelper_0(this.labelElem);
  !!this.inputElem && (this.inputElem.tabIndex = 0 , undefined);
}

function CheckBox(){
}

_ = CheckBox_1.prototype = CheckBox_0.prototype = CheckBox.prototype = new ButtonBase;
_.getClass$ = function getClass_265(){
  return Lcom_google_gwt_user_client_ui_CheckBox_2_classLit;
}
;
_.getTabIndex = function getTabIndex_1(){
  return this.inputElem.tabIndex;
}
;
_.onLoad = function onLoad_1(){
  this.inputElem.__listener = this;
}
;
_.onUnload = function onUnload_1(){
  this.inputElem.__listener = null;
  $setValue(this, this.attached?($clinit_77() , this.inputElem.checked?TRUE:FALSE):($clinit_77() , this.inputElem.defaultChecked?TRUE:FALSE));
}
;
_.setTabIndex = function setTabIndex_1(index){
  !!this.inputElem && (this.inputElem.tabIndex = index , undefined);
}
;
_.sinkEvents = function sinkEvents_1(eventBitsToAdd){
  this.eventsToSink == -1?sinkEvents_0(this.inputElem, eventBitsToAdd | (this.inputElem.__eventBits || 0)):this.eventsToSink == -1?$sinkEvents_0(this.element, eventBitsToAdd | (this.element.__eventBits || 0)):(this.eventsToSink |= eventBitsToAdd);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.directionalTextHelper = null;
_.inputElem = null;
_.labelElem = null;
_.valueChangeHandlerInitialized = false;
function CheckBox$1_0(this$0){
  this.this$0 = this$0;
}

function CheckBox$1(){
}

_ = CheckBox$1_0.prototype = CheckBox$1.prototype = new Object_0;
_.getClass$ = function getClass_266(){
  return Lcom_google_gwt_user_client_ui_CheckBox$1_2_classLit;
}
;
_.onClick = function onClick_10(event_0){
  fire_4(this.this$0, $getValue(this.this$0));
}
;
_.castableTypeMap$ = {49:1, 78:1};
_.this$0 = null;
function $createWidgetContainer(){
  var container;
  container = $doc.createElement('div');
  container.style['width'] = '100%';
  container.style['height'] = '0px';
  container.style['padding'] = '0px';
  container.style['margin'] = '0px';
  return container;
}

function $finishWidgetInitialization(container, w){
  var element;
  container.style.display = 'none';
  container.style['height'] = '100%';
  element = w.element;
  $equals_1(element.style['width'], '') && w.setWidth_0('100%');
  $equals_1(element.style['height'], '') && w.setHeight_0('100%');
  w.setVisible(false);
}

function $remove_3(this$static, w){
  var container, removed, parent_0;
  container = (parent_0 = w.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  removed = $remove_1(this$static, w);
  if (removed) {
    w.setSize('', '');
    w.setVisible(true);
    this$static.element.removeChild(container);
    this$static.visibleWidget == w && (this$static.visibleWidget = null);
  }
  return removed;
}

function $showWidget(this$static, index){
  var oldWidget;
  $checkIndexBoundsForAccess(this$static, index);
  oldWidget = this$static.visibleWidget;
  this$static.visibleWidget = $get(this$static.children, index);
  if (this$static.visibleWidget != oldWidget) {
    !slideAnimation && (slideAnimation = new DeckPanel$SlideAnimation_0);
    $showWidget_0(slideAnimation, oldWidget, this$static.visibleWidget);
  }
}

function DeckPanel_0(){
  this.children = new WidgetCollection_0(this);
  this.element = $doc.createElement('div');
}

function DeckPanel(){
}

_ = DeckPanel_0.prototype = DeckPanel.prototype = new ComplexPanel;
_.add_0 = function add_1(w){
  var container;
  container = $createWidgetContainer();
  this.element.appendChild(container);
  $removeFromParent(w);
  $add_4(this.children, w);
  container.appendChild(w.element);
  $setParent(w, this);
  $finishWidgetInitialization(container, w);
}
;
_.getClass$ = function getClass_267(){
  return Lcom_google_gwt_user_client_ui_DeckPanel_2_classLit;
}
;
_.remove = function remove_4(w){
  return $remove_3(this, w);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.visibleWidget = null;
var slideAnimation = null;
function $onUpdate(this$static, progress){
  var height1, height2;
  this$static.growing || (progress = 1 - progress);
  if (this$static.fixedHeight == -1) {
    height1 = ~~Math.max(Math.min(progress * (parseInt(this$static.container1['scrollHeight']) || 0), 2147483647), -2147483648);
    height2 = ~~Math.max(Math.min((1 - progress) * (parseInt(this$static.container2['scrollHeight']) || 0), 2147483647), -2147483648);
  }
   else {
    height1 = ~~Math.max(Math.min(progress * this$static.fixedHeight, 2147483647), -2147483648);
    height2 = this$static.fixedHeight - height1;
  }
  if (height1 == 0) {
    height1 = 1;
    height2 = 1 > height2 - 1?1:height2 - 1;
  }
   else if (height2 == 0) {
    height2 = 1;
    height1 = 1 > height1 - 1?1:height1 - 1;
  }
  this$static.container1.style['height'] = height1 + 'px';
  this$static.container2.style['height'] = height2 + 'px';
}

function $showWidget_0(this$static, oldWidget, newWidget){
  var newContainer, newIndex, oldContainer, oldIndex, parent_0, parent_1;
  $cancel(this$static);
  newContainer = (parent_0 = newWidget.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  newIndex = $getChildIndex_0($getParentElement(newContainer), newContainer);
  if (!oldWidget) {
    newContainer.style.display = '';
    newWidget.setVisible(true);
    return;
  }
  this$static.oldWidget = oldWidget;
  oldContainer = (parent_1 = oldWidget.element.parentNode , (!parent_1 || parent_1.nodeType != 1) && (parent_1 = null) , parent_1);
  oldIndex = $getChildIndex_0($getParentElement(oldContainer), oldContainer);
  if (newIndex > oldIndex) {
    this$static.container1 = oldContainer;
    this$static.container2 = newContainer;
    this$static.growing = false;
  }
   else {
    this$static.container1 = newContainer;
    this$static.container2 = oldContainer;
    this$static.growing = true;
  }
  this$static.container1.style.display = this$static.growing?'':'none';
  this$static.container2.style.display = !this$static.growing?'':'none';
  this$static.container1 = null;
  this$static.container2 = null;
  this$static.oldWidget.setVisible(false);
  this$static.oldWidget = null;
  newWidget.setVisible(true);
}

function DeckPanel$SlideAnimation_0(){
}

function DeckPanel$SlideAnimation(){
}

_ = DeckPanel$SlideAnimation_0.prototype = DeckPanel$SlideAnimation.prototype = new Animation;
_.getClass$ = function getClass_268(){
  return Lcom_google_gwt_user_client_ui_DeckPanel$SlideAnimation_2_classLit;
}
;
_.onComplete = function onComplete_1(){
  if (this.growing) {
    this.container1.style['height'] = '100%';
    this.container1.style.display = '';
    this.container2.style.display = 'none';
    this.container2.style['height'] = '100%';
  }
   else {
    this.container1.style.display = 'none';
    this.container1.style['height'] = '100%';
    this.container2.style['height'] = '100%';
    this.container2.style.display = '';
  }
  this.container1.style['overflow'] = 'visible';
  this.container2.style['overflow'] = 'visible';
  this.container1 = null;
  this.container2 = null;
  this.oldWidget.setVisible(false);
  this.oldWidget = null;
}
;
_.onStart = function onStart_0(){
  var deckElem, deckHeight, parent_0;
  deckElem = (parent_0 = this.container1.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  deckHeight = deckElem.offsetHeight || 0;
  if (this.growing) {
    this.fixedHeight = this.container2.offsetHeight || 0;
    this.container2.style['height'] = max(this.fixedHeight - 1) + ($clinit_45() , 'px');
  }
   else {
    this.fixedHeight = this.container1.offsetHeight || 0;
    this.container1.style['height'] = max(this.fixedHeight - 1) + ($clinit_45() , 'px');
  }
  (deckElem.offsetHeight || 0) != deckHeight && (this.fixedHeight = -1);
  this.container1.style['overflow'] = 'hidden';
  this.container2.style['overflow'] = 'hidden';
  $onUpdate(this, 0);
  this.container1.style.display = '';
  this.container2.style.display = '';
}
;
_.onUpdate = function onUpdate_0(progress){
  $onUpdate(this, progress);
}
;
_.castableTypeMap$ = {14:1};
_.container1 = null;
_.container2 = null;
_.fixedHeight = -1;
_.growing = false;
_.oldWidget = null;
function $checkInsertBeforeTabIndex(this$static, beforeIndex){
  if (beforeIndex < 0 || beforeIndex > this$static.panel.children.size - 2) {
    throw new IndexOutOfBoundsException_0;
  }
}

function $checkTabIndex(this$static, index){
  if (index < -1 || index >= this$static.panel.children.size - 2) {
    throw new IndexOutOfBoundsException_0;
  }
}

function $insertTab(this$static, text, beforeIndex){
  var item, delWidget, focusablePanel, parent_0;
  $checkInsertBeforeTabIndex(this$static, beforeIndex);
  item = new Label_1(text);
  item.element.style['whiteSpace'] = 'nowrap';
  $checkInsertBeforeTabIndex(this$static, beforeIndex);
  delWidget = new TabBar$ClickDelegatePanel_0(this$static, item);
  delWidget.element['className'] = 'gwt-TabBarItem';
  focusablePanel = delWidget.focusablePanel;
  focusablePanel.element.setAttribute('role', 'tab');
  $insert_2(this$static.panel, delWidget, beforeIndex + 1);
  setStyleName((parent_0 = delWidget.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0), 'gwt-TabBarItem-wrapper', true);
}

function $removeTab(this$static, index){
  var toRemove;
  $checkTabIndex(this$static, index);
  toRemove = $get(this$static.panel.children, index + 1);
  toRemove == this$static.selectedTab && (this$static.selectedTab = null);
  $remove_4(this$static.panel, toRemove);
}

function $selectTab(this$static, index){
  var event_0;
  $checkTabIndex(this$static, index);
  event_0 = fire_0(this$static, valueOf_1(index));
  if (!!event_0 && event_0.canceled) {
    return false;
  }
  $setSelectionStyle(this$static.selectedTab, false);
  if (index == -1) {
    this$static.selectedTab = null;
    return true;
  }
  this$static.selectedTab = $get(this$static.panel.children, index + 1);
  $setSelectionStyle(this$static.selectedTab, true);
  fire_3(this$static, valueOf_1(index));
  return true;
}

function $selectTabByTabWidget(this$static, tabWidget){
  var i, numTabs;
  numTabs = this$static.panel.children.size - 1;
  for (i = 1; i < numTabs; ++i) {
    if ($get(this$static.panel.children, i) == tabWidget) {
      return $selectTab(this$static, i - 1);
    }
  }
  return false;
}

function $setSelectionStyle(item, selected){
  var parent_0, parent_1;
  if (item) {
    if (selected) {
      setStyleName(item.getStyleElement(), 'gwt-TabBarItem-selected', true);
      setStyleName((parent_0 = item.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0), 'gwt-TabBarItem-wrapper-selected', true);
    }
     else {
      setStyleName(item.getStyleElement(), 'gwt-TabBarItem-selected', false);
      setStyleName((parent_1 = item.element.parentNode , (!parent_1 || parent_1.nodeType != 1) && (parent_1 = null) , parent_1), 'gwt-TabBarItem-wrapper-selected', false);
    }
  }
}

function TabBar(){
}

_ = TabBar.prototype = new Composite;
_.getClass$ = function getClass_269(){
  return Lcom_google_gwt_user_client_ui_TabBar_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 58:1};
_.selectedTab = null;
function $clinit_64(){
  $clinit_64 = nullMethod;
  TAB_ROW_STYLES = initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['tabTop', 'tabMiddle']);
}

var TAB_ROW_STYLES;
function $add_1(this$static, w){
  $insert_0(this$static, w, 'Media Types', this$static.deck.children.size);
}

function $insert_0(this$static, widget, tabText, beforeIndex){
  $insertProtected(this$static.deck, widget, tabText, beforeIndex);
}

function $onTabSelected(this$static, tabIndex){
  $showWidget(this$static.deck, tabIndex);
  fire_3(this$static, valueOf_1(tabIndex));
}

function TabPanel(){
}

_ = TabPanel.prototype = new Composite;
_.createTabTextWrapper = function createTabTextWrapper(){
  return null;
}
;
_.getClass$ = function getClass_270(){
  return Lcom_google_gwt_user_client_ui_TabPanel_2_classLit;
}
;
_.iterator_0 = function iterator_1(){
  return new WidgetCollection$WidgetIterator_0(this.deck.children);
}
;
_.remove = function remove_5(widget){
  return $remove_5(this.deck, widget);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 58:1, 77:1};
function DecoratedTabPanel_0(){
  var panel, td;
  this.tabBar = new TabPanel$UnmodifiableTabBar_0(this);
  this.deck = new TabPanel$TabbedDeckPanel_0(this.tabBar);
  panel = new VerticalPanel_0;
  $add_3(panel, this.tabBar);
  $add_3(panel, this.deck);
  td = $getWidgetTd(panel, this.deck);
  !!td && (td['height'] = '100%' , undefined);
  this.tabBar.element.style['width'] = '100%';
  add_2(this.tabBar, this);
  $initWidget(this, panel);
  this.element['className'] = 'gwt-TabPanel';
  this.deck.element['className'] = 'gwt-TabPanelBottom';
  this.deck.element.setAttribute('role', 'tabpanel');
  setStylePrimaryName(this.element, 'gwt-DecoratedTabPanel');
  setStylePrimaryName(this.tabBar.element, 'gwt-DecoratedTabBar');
}

function DecoratedTabPanel(){
}

_ = DecoratedTabPanel_0.prototype = DecoratedTabPanel.prototype = new TabPanel;
_.createTabTextWrapper = function createTabTextWrapper_0(){
  return new DecoratorPanel_0(($clinit_64() , TAB_ROW_STYLES));
}
;
_.getClass$ = function getClass_271(){
  return Lcom_google_gwt_user_client_ui_DecoratedTabPanel_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 58:1, 77:1};
function DecoratorPanel_0(rowStyles){
  var i, row, table, trElem;
  this.element = $doc.createElement('table');
  table = this.element;
  this.tbody = $doc.createElement('tbody');
  table.appendChild(this.tbody);
  table['cellSpacing'] = 0;
  table['cellPadding'] = 0;
  for (i = 0; i < rowStyles.length; ++i) {
    row = (trElem = $doc.createElement('tr') , trElem['className'] = rowStyles[i] , trElem.appendChild(createTD(rowStyles[i] + 'Left')) , trElem.appendChild(createTD(rowStyles[i] + 'Center')) , trElem.appendChild(createTD(rowStyles[i] + 'Right')) , trElem);
    this.tbody.appendChild(row);
    i == 1 && (this.containerElem = $getFirstChildElement($getChild_0(row, 1)));
  }
  this.element['className'] = 'gwt-DecoratorPanel';
}

function createTD(styleName){
  var inner, tdElem;
  tdElem = $doc.createElement('td');
  inner = $doc.createElement('div');
  tdElem.appendChild(inner);
  tdElem['className'] = styleName;
  inner['className'] = styleName + 'Inner';
  return tdElem;
}

function DecoratorPanel(){
}

_ = DecoratorPanel_0.prototype = DecoratorPanel.prototype = new SimplePanel;
_.getClass$ = function getClass_272(){
  return Lcom_google_gwt_user_client_ui_DecoratorPanel_2_classLit;
}
;
_.getContainerElement = function getContainerElement_1(){
  return this.containerElem;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.containerElem = null;
_.tbody = null;
function $setTextOrHtml(this$static, content_0, isHtml){
  isHtml?(this$static.element.innerHTML = content_0 || '' , undefined):(this$static.element.textContent = content_0 || '' , undefined);
  if (this$static.textDir != this$static.initialElementDir) {
    this$static.textDir = this$static.initialElementDir;
    setDirectionOnElement(this$static.element, this$static.initialElementDir);
  }
}

function DirectionalTextHelper_0(element){
  this.element = element;
  this.initialElementDir = getDirectionOnElement(element);
  this.textDir = this.initialElementDir;
}

function DirectionalTextHelper(){
}

_ = DirectionalTextHelper_0.prototype = DirectionalTextHelper.prototype = new Object_0;
_.getClass$ = function getClass_273(){
  return Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2_classLit;
}
;
_.castableTypeMap$ = {};
_.element = null;
_.initialElementDir = null;
_.textDir = null;
--></script>
<script><!--
function $doLayout(this$static){
  var bottom, child, child$iterator, data, layer, left, right, top_0;
  left = 0;
  top_0 = 0;
  right = 0;
  bottom = 0;
  for (child$iterator = new WidgetCollection$WidgetIterator_0(this$static.children); child$iterator.index_0 < child$iterator.this$0.size - 1;) {
    child = $next_1(child$iterator);
    data = child.layoutData;
    layer = data.layer;
    switch ($getResolvedDirection(data.direction).ordinal) {
      case 0:
        $setLeftRight(layer, left, this$static.unit, right, this$static.unit);
        $setTopHeight(layer, top_0, this$static.unit, data.size, this$static.unit);
        top_0 += data.size;
        break;
      case 2:
        $setLeftRight(layer, left, this$static.unit, right, this$static.unit);
        $setBottomHeight(layer, bottom, this$static.unit, data.size, this$static.unit);
        bottom += data.size;
        break;
      case 3:
        $setTopBottom(layer, top_0, this$static.unit, bottom, this$static.unit);
        $setLeftWidth(layer, left, this$static.unit, data.size, this$static.unit);
        left += data.size;
        break;
      case 1:
        $setTopBottom(layer, top_0, this$static.unit, bottom, this$static.unit);
        $setRightWidth(layer, right, this$static.unit, data.size, this$static.unit);
        right += data.size;
        break;
      case 4:
        $setLeftRight(layer, left, this$static.unit, right, this$static.unit);
        $setTopBottom(layer, top_0, this$static.unit, bottom, this$static.unit);
    }
  }
}

function $getResolvedDirection(direction){
  if (direction == ($clinit_65() , LINE_START)) {
    return WEST;
  }
   else if (direction == LINE_END) {
    return EAST;
  }
  return direction;
}

function $insert_1(this$static, widget, direction, size){
  var children, data, layer;
  $removeFromParent(widget);
  children = this$static.children;
  $insert_3(children, widget, children.size);
  direction == ($clinit_65() , CENTER) && (this$static.center = widget);
  layer = $attachChild(this$static.layout, widget.element, widget);
  data = new DockLayoutPanel$LayoutData_0(direction, size, layer);
  widget.layoutData = data;
  $setParent(widget, this$static);
  $schedule_0(this$static.layoutCmd);
}

function DockLayoutPanel_0(unit){
  this.children = new WidgetCollection_0(this);
  this.unit = unit;
  this.element = $doc.createElement('div');
  this.layout = new Layout_0(this.element);
  this.layoutCmd = new DockLayoutPanel$DockAnimateCommand_0(this, this.layout);
}

function DockLayoutPanel(){
}

_ = DockLayoutPanel_0.prototype = DockLayoutPanel.prototype = new ComplexPanel;
_.getClass$ = function getClass_274(){
  return Lcom_google_gwt_user_client_ui_DockLayoutPanel_2_classLit;
}
;
_.onLoad = function onLoad_2(){
}
;
_.onResize_0 = function onResize_2(){
  var child, child$iterator;
  for (child$iterator = new WidgetCollection$WidgetIterator_0(this.children); child$iterator.index_0 < child$iterator.this$0.size - 1;) {
    child = $next_1(child$iterator);
    child != null && child.castableTypeMap$ && !!child.castableTypeMap$[74] && dynamicCast(child, 74).onResize_0();
  }
}
;
_.onUnload = function onUnload_2(){
}
;
_.remove = function remove_6(w){
  var data, removed;
  removed = $remove_1(this, w);
  if (removed) {
    w == this.center && (this.center = null);
    data = w.layoutData;
    $removeChild(this.layout, data.layer);
  }
  return removed;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 74:1, 77:1};
_.center = null;
_.layout = null;
_.layoutCmd = null;
_.unit = null;
function $clinit_65(){
  $clinit_65 = nullMethod;
  NORTH = new DockLayoutPanel$Direction_0('NORTH', 0);
  EAST = new DockLayoutPanel$Direction_0('EAST', 1);
  SOUTH = new DockLayoutPanel$Direction_0('SOUTH', 2);
  WEST = new DockLayoutPanel$Direction_0('WEST', 3);
  CENTER = new DockLayoutPanel$Direction_0('CENTER', 4);
  LINE_START = new DockLayoutPanel$Direction_0('LINE_START', 5);
  LINE_END = new DockLayoutPanel$Direction_0('LINE_END', 6);
  $VALUES_6 = initValues(_3Lcom_google_gwt_user_client_ui_DockLayoutPanel$Direction_2_classLit, {31:1}, 26, [NORTH, EAST, SOUTH, WEST, CENTER, LINE_START, LINE_END]);
}

function DockLayoutPanel$Direction_0(enum$name, enum$ordinal){
  this.name_0 = enum$name;
  this.ordinal = enum$ordinal;
}

function values_7(){
  $clinit_65();
  return $VALUES_6;
}

function DockLayoutPanel$Direction(){
}

_ = DockLayoutPanel$Direction_0.prototype = DockLayoutPanel$Direction.prototype = new Enum;
_.getClass$ = function getClass_275(){
  return Lcom_google_gwt_user_client_ui_DockLayoutPanel$Direction_2_classLit;
}
;
_.castableTypeMap$ = {26:1, 31:1, 35:1, 36:1};
var $VALUES_6, CENTER, EAST, LINE_END, LINE_START, NORTH, SOUTH, WEST;
function $schedule_0(this$static){
  this$static.duration = 0;
  this$static.canceled = false;
  if (!this$static.scheduled) {
    this$static.scheduled = true;
    $scheduleFinally(($clinit_41() , INSTANCE), this$static);
  }
}

function LayoutCommand(){
}

_ = LayoutCommand.prototype = new Object_0;
_.doBeforeLayout = function doBeforeLayout(){
}
;
_.execute = function execute_2(){
  this.scheduled = false;
  if (this.canceled) {
    return;
  }
  this.doBeforeLayout();
  $layout(this.layout, this.duration, new LayoutCommand$1_0);
}
;
_.getClass$ = function getClass_276(){
  return Lcom_google_gwt_user_client_ui_LayoutCommand_2_classLit;
}
;
_.castableTypeMap$ = {};
_.canceled = false;
_.duration = 0;
_.layout = null;
_.scheduled = false;
function DockLayoutPanel$DockAnimateCommand_0(this$0, layout){
  this.this$0 = this$0;
  this.layout = layout;
}

function DockLayoutPanel$DockAnimateCommand(){
}

_ = DockLayoutPanel$DockAnimateCommand_0.prototype = DockLayoutPanel$DockAnimateCommand.prototype = new LayoutCommand;
_.doBeforeLayout = function doBeforeLayout_0(){
  $doLayout(this.this$0);
}
;
_.getClass$ = function getClass_277(){
  return Lcom_google_gwt_user_client_ui_DockLayoutPanel$DockAnimateCommand_2_classLit;
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function DockLayoutPanel$LayoutData_0(direction, size, layer){
  this.direction = direction;
  this.size = size;
  this.layer = layer;
}

function DockLayoutPanel$LayoutData(){
}

_ = DockLayoutPanel$LayoutData_0.prototype = DockLayoutPanel$LayoutData.prototype = new Object_0;
_.getClass$ = function getClass_278(){
  return Lcom_google_gwt_user_client_ui_DockLayoutPanel$LayoutData_2_classLit;
}
;
_.castableTypeMap$ = {};
_.direction = null;
_.layer = null;
_.size = 0;
function Frame_1(url){
  this.element = $doc.createElement('iframe');
  this.element['className'] = 'gwt-Frame';
  this.element.src = url;
}

function Frame_0(){
}

_ = Frame_1.prototype = Frame_0.prototype = new Widget;
_.getClass$ = function getClass_279(){
  return Lcom_google_gwt_user_client_ui_Frame_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function LabelBase_0(element){
  this.element = element;
  this.directionalTextHelper = new DirectionalTextHelper_0(this.element);
}

function LabelBase(){
}

_ = LabelBase.prototype = new Widget;
_.getClass$ = function getClass_280(){
  return Lcom_google_gwt_user_client_ui_LabelBase_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.directionalTextHelper = null;
function Label_0(){
  this.element = $doc.createElement('div');
  this.directionalTextHelper = new DirectionalTextHelper_0(this.element);
  this.element['className'] = 'gwt-Label';
}

function Label_1(text){
  Label_0.call(this);
  $setTextOrHtml(this.directionalTextHelper, text, false);
}

function Label_2(element){
  LabelBase_0.call(this, element, $equalsIgnoreCase('span', element.tagName));
}

function Label(){
}

_ = Label_1.prototype = Label_0.prototype = Label.prototype = new LabelBase;
_.getClass$ = function getClass_281(){
  return Lcom_google_gwt_user_client_ui_Label_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function HTML_0(){
  Label_2.call(this, $doc.createElement('div'));
  this.element['className'] = 'gwt-HTML';
}

function HTML_1(){
  HTML_0.call(this);
  $setTextOrHtml(this.directionalTextHelper, '&nbsp;', true);
  this.element.style['whiteSpace'] = 'normal';
}

function HTML(){
}

_ = HTML_1.prototype = HTML_0.prototype = HTML.prototype = new Label;
_.getClass$ = function getClass_282(){
  return Lcom_google_gwt_user_client_ui_HTML_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function $clinit_66(){
  $clinit_66 = nullMethod;
  new HasHorizontalAlignment$HorizontalAlignmentConstant_0('center');
  new HasHorizontalAlignment$HorizontalAlignmentConstant_0('justify');
  ALIGN_LEFT = new HasHorizontalAlignment$HorizontalAlignmentConstant_0('left');
  new HasHorizontalAlignment$HorizontalAlignmentConstant_0('right');
  ALIGN_LOCALE_START = ALIGN_LEFT;
  ALIGN_DEFAULT = ALIGN_LOCALE_START;
}

var ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_LOCALE_START;
function HasHorizontalAlignment$AutoHorizontalAlignmentConstant(){
}

_ = HasHorizontalAlignment$AutoHorizontalAlignmentConstant.prototype = new Object_0;
_.getClass$ = function getClass_283(){
  return Lcom_google_gwt_user_client_ui_HasHorizontalAlignment$AutoHorizontalAlignmentConstant_2_classLit;
}
;
_.castableTypeMap$ = {};
function HasHorizontalAlignment$HorizontalAlignmentConstant_0(textAlignString){
  this.textAlignString = textAlignString;
}

function HasHorizontalAlignment$HorizontalAlignmentConstant(){
}

_ = HasHorizontalAlignment$HorizontalAlignmentConstant_0.prototype = HasHorizontalAlignment$HorizontalAlignmentConstant.prototype = new HasHorizontalAlignment$AutoHorizontalAlignmentConstant;
_.getClass$ = function getClass_284(){
  return Lcom_google_gwt_user_client_ui_HasHorizontalAlignment$HorizontalAlignmentConstant_2_classLit;
}
;
_.castableTypeMap$ = {};
_.textAlignString = null;
function $clinit_67(){
  $clinit_67 = nullMethod;
  ALIGN_BOTTOM = new HasVerticalAlignment$VerticalAlignmentConstant_0('bottom');
  new HasVerticalAlignment$VerticalAlignmentConstant_0('middle');
  ALIGN_TOP = new HasVerticalAlignment$VerticalAlignmentConstant_0('top');
}

var ALIGN_BOTTOM, ALIGN_TOP;
function HasVerticalAlignment$VerticalAlignmentConstant_0(verticalAlignString){
  this.verticalAlignString = verticalAlignString;
}

function HasVerticalAlignment$VerticalAlignmentConstant(){
}

_ = HasVerticalAlignment$VerticalAlignmentConstant_0.prototype = HasVerticalAlignment$VerticalAlignmentConstant.prototype = new Object_0;
_.getClass$ = function getClass_285(){
  return Lcom_google_gwt_user_client_ui_HasVerticalAlignment$VerticalAlignmentConstant_2_classLit;
}
;
_.castableTypeMap$ = {};
_.verticalAlignString = null;
function $add_2(this$static, w){
  var td;
  td = $createAlignedTd(this$static);
  this$static.tableRow.appendChild(td);
  $removeFromParent(w);
  $add_4(this$static.children, w);
  td.appendChild(w.element);
  $setParent(w, this$static);
}

function $createAlignedTd(this$static){
  var td;
  td = $doc.createElement('td');
  td['align'] = this$static.horzAlign.textAlignString;
  td.style['verticalAlign'] = this$static.vertAlign.verticalAlignString;
  return td;
}

function $insert_2(this$static, w, beforeIndex){
  var td;
  $checkIndexBoundsForInsertion(this$static, beforeIndex);
  td = $createAlignedTd(this$static);
  $insertChild(this$static.tableRow, td, beforeIndex);
  $insert(this$static, w, td, beforeIndex, false);
}

function $remove_4(this$static, w){
  var removed, td, parent_0;
  td = (parent_0 = w.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  removed = $remove_1(this$static, w);
  removed && this$static.tableRow.removeChild(td);
  return removed;
}

function HorizontalPanel_0(){
  CellPanel_0.call(this);
  this.horzAlign = ($clinit_66() , ALIGN_DEFAULT);
  this.vertAlign = ($clinit_67() , ALIGN_TOP);
  this.tableRow = $doc.createElement('tr');
  this.body_0.appendChild(this.tableRow);
  this.table['cellSpacing'] = '0';
  this.table['cellPadding'] = '0';
}

function HorizontalPanel(){
}

_ = HorizontalPanel_0.prototype = HorizontalPanel.prototype = new CellPanel;
_.getClass$ = function getClass_286(){
  return Lcom_google_gwt_user_client_ui_HorizontalPanel_2_classLit;
}
;
_.remove = function remove_7(w){
  return $remove_4(this, w);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.tableRow = null;
function $setWidget_0(this$static, index, w){
  var oldWidget;
  oldWidget = this$static.widgets[index];
  if (oldWidget == w) {
    return;
  }
  !!w && $removeFromParent(w);
  if (oldWidget) {
    try {
      $setParent(oldWidget, null);
    }
     finally {
      this$static.elements[index].removeChild(oldWidget.element);
      setCheck(this$static.widgets, index, null);
    }
  }
  setCheck(this$static.widgets, index, w);
  if (w) {
    this$static.elements[index].appendChild(w.element);
    $setParent(w, this$static);
  }
}

function $startResizingFrom(this$static, x){
  var height, width;
  this$static.isResizing = true;
  this$static.initialThumbPos = x;
  this$static.initialLeftWidth = parseInt(this$static.elements[0]['offsetWidth']) || 0;
  height = (($clinit_70() , $doc.body).scrollHeight || 0) - 1;
  width = ($doc.body.scrollWidth || 0) - 1;
  glassElem.style['height'] = height + 'px';
  glassElem.style['width'] = width + 'px';
  $doc.body.appendChild(glassElem);
}

function SplitPanel_0(mainElem, splitElem, headElem, tailElem){
  this.widgets = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, {31:1}, 30, 2, 0);
  this.elements = initDim(_3Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, {31:1}, 0, 2, 0);
  this.element = mainElem;
  this.splitElem = splitElem;
  this.elements[0] = headElem;
  this.elements[1] = tailElem;
  this.eventsToSink == -1?$sinkEvents_0(this.element, 8316 | (this.element.__eventBits || 0)):(this.eventsToSink |= 8316);
  if (!glassElem) {
    glassElem = $doc.createElement('div');
    glassElem.style['position'] = 'absolute';
    glassElem.style['top'] = '0px';
    glassElem.style['left'] = '0px';
    glassElem.style['margin'] = '0px';
    glassElem.style['padding'] = '0px';
    glassElem.style['border'] = '0px';
    glassElem.style['background'] = 'white';
    glassElem.style['opacity'] = '0.0';
    glassElem.style['filter'] = 'alpha(opacity=0)';
  }
}

function expandToFitParentUsingCssOffsets(elem){
  elem.style['position'] = 'absolute';
  elem.style['left'] = '0px';
  elem.style['right'] = '0px';
  elem.style['top'] = '0px';
  elem.style['bottom'] = '0px';
}

function preventBoxStyles(elem){
  elem.style['padding'] = '0';
  elem.style['margin'] = '0';
  elem.style['border'] = 'none';
  return elem;
}

function SplitPanel(){
}

_ = SplitPanel.prototype = new Panel;
_.getClass$ = function getClass_287(){
  return Lcom_google_gwt_user_client_ui_SplitPanel_2_classLit;
}
;
_.iterator_0 = function iterator_2(){
  return new WidgetIterators$1_0(this.widgets, this);
}
;
_.onBrowserEvent = function onBrowserEvent_1(event_0){
  var target;
  switch ($eventGetTypeInt(event_0.type)) {
    case 4:
      {
        target = event_0.target;
        if (isOrHasChild(this.splitElem, target)) {
          $startResizingFrom(this, (event_0.clientX || 0) - $getAbsoluteLeft(this.element), (event_0.clientY || 0) - $getAbsoluteTop(this.element));
          setCapture(this.element);
          event_0.preventDefault();
        }
        break;
      }

    case 8:
      {
        if (this.isResizing) {
          this.isResizing = false;
          ($clinit_70() , $doc.body).removeChild(glassElem);
          releaseCapture(this.element);
        }
        break;
      }

    case 64:
      {
        if (this.isResizing) {
          $onSplitterResize(this, (event_0.clientX || 0) - $getAbsoluteLeft(this.element), (event_0.clientY || 0) - $getAbsoluteTop(this.element));
          event_0.preventDefault();
        }
        break;
      }

    case 8192:
      {
        this.isResizing && (this.isResizing = false , ($clinit_70() , $doc.body).removeChild(glassElem));
        break;
      }

  }
  $onBrowserEvent(this, event_0);
}
;
_.remove = function remove_8(widget){
  if (this.widgets[0] == widget) {
    $setWidget_0(this, 0, null);
    return true;
  }
   else if (this.widgets[1] == widget) {
    $setWidget_0(this, 1, null);
    return true;
  }
  return false;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.isResizing = false;
_.splitElem = null;
var glassElem = null;
function $onSplitterResize(this$static, x){
  $setSplitPositionUsingPixels(this$static.impl, this$static.initialLeftWidth + x - this$static.initialThumbPos);
}

function $setSplitPosition(this$static, pos){
  this$static.lastSplitPosition = pos;
  $setSplitPosition_0(this$static.impl, pos);
}

function HorizontalSplitPanel_0(){
  HorizontalSplitPanel_1.call(this, create_1(($clinit_68() , horizontalSplitPanelThumb)));
}

function HorizontalSplitPanel_1(thumbImage){
  var leftDiv, rightDiv, splitDiv;
  SplitPanel_0.call(this, $doc.createElement('div'), $doc.createElement('div'), preventBoxStyles($doc.createElement('div')), preventBoxStyles($doc.createElement('div')));
  this.impl = new HorizontalSplitPanel$Impl_0;
  this.container = preventBoxStyles($doc.createElement('div'));
  leftDiv = this.elements[0];
  rightDiv = this.elements[1];
  splitDiv = this.splitElem;
  this.element.appendChild(this.container);
  this.container.appendChild(leftDiv);
  this.container.appendChild(splitDiv);
  this.container.appendChild(rightDiv);
  splitDiv.innerHTML = "<table class='hsplitter' height='100%' cellpadding='0' cellspacing='0'><tr><td align='center' valign='middle'>" + $getHTML(thumbImage.url, thumbImage.left_0, thumbImage.top_0, thumbImage.width_0, thumbImage.height_0) || '';
  leftDiv.style['overflow'] = 'auto';
  rightDiv.style['overflow'] = 'auto';
  this.element['className'] = 'gwt-HorizontalSplitPanel';
  this.impl.panel = this;
  this.element.style['position'] = 'relative';
  expandToFitParentHorizontally(this.elements[0]);
  expandToFitParentHorizontally(this.elements[1]);
  expandToFitParentHorizontally(this.splitElem);
  expandToFitParentUsingCssOffsets(this.container);
  this.elements[1].style['right'] = '0px';
  this.element.style['height'] = '100%';
}

function HorizontalSplitPanel(){
}

_ = HorizontalSplitPanel_0.prototype = HorizontalSplitPanel.prototype = new SplitPanel;
_.getClass$ = function getClass_288(){
  return Lcom_google_gwt_user_client_ui_HorizontalSplitPanel_2_classLit;
}
;
_.onLoad = function onLoad_3(){
  $setSplitPosition(this, this.lastSplitPosition);
  addCommand(new HorizontalSplitPanel$1_0(this));
}
;
_.onUnload = function onUnload_3(){
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.container = null;
_.initialLeftWidth = 0;
_.initialThumbPos = 0;
_.lastSplitPosition = '50%';
function HorizontalSplitPanel$1_0(this$0){
  this.this$0 = this$0;
}

function HorizontalSplitPanel$1(){
}

_ = HorizontalSplitPanel$1_0.prototype = HorizontalSplitPanel$1.prototype = new Object_0;
_.execute = function execute_3(){
  $setSplitPosition(this.this$0, this.this$0.lastSplitPosition);
}
;
_.getClass$ = function getClass_289(){
  return Lcom_google_gwt_user_client_ui_HorizontalSplitPanel$1_2_classLit;
}
;
_.castableTypeMap$ = {70:1};
_.this$0 = null;
function $setSplitPosition_0(this$static, pos){
  var leftElem;
  leftElem = this$static.panel.elements[0];
  leftElem.style['width'] = pos;
  $setSplitPositionUsingPixels(this$static, parseInt(leftElem['offsetWidth']) || 0);
}

function $setSplitPositionUsingPixels(this$static, px){
  var newRightWidth, rightElem, rootElemWidth, splitElem, splitElemWidth;
  splitElem = this$static.panel.splitElem;
  rootElemWidth = parseInt(this$static.panel.container['offsetWidth']) || 0;
  splitElemWidth = parseInt(splitElem['offsetWidth']) || 0;
  if (rootElemWidth < splitElemWidth) {
    return;
  }
  newRightWidth = rootElemWidth - px - splitElemWidth;
  px < 0?(px = 0):newRightWidth < 0 && (px = rootElemWidth - splitElemWidth);
  rightElem = this$static.panel.elements[1];
  this$static.panel.elements[0].style['width'] = px + 'px';
  splitElem.style['left'] = px + 'px';
  rightElem.style['left'] = px + splitElemWidth + 'px';
}

function HorizontalSplitPanel$Impl_0(){
}

function expandToFitParentHorizontally(elem){
  elem.style['position'] = 'absolute';
  elem.style['top'] = '0px';
  elem.style['bottom'] = '0px';
}

function HorizontalSplitPanel$Impl(){
}

_ = HorizontalSplitPanel$Impl_0.prototype = HorizontalSplitPanel$Impl.prototype = new Object_0;
_.getClass$ = function getClass_290(){
  return Lcom_google_gwt_user_client_ui_HorizontalSplitPanel$Impl_2_classLit;
}
;
_.castableTypeMap$ = {};
_.panel = null;
var horizontalSplitPanelThumb = null;
function $clinit_68(){
  $clinit_68 = nullMethod;
  horizontalSplitPanelThumb = new ImageResourcePrototype_0('', 7, 7);
}

function $clinit_69(){
  $clinit_69 = nullMethod;
  new HashMap_0;
}

function Image_1(url, left, top_0, width, height){
  $clinit_69();
  this.state = new Image$ClippedState_0(this, url, left, top_0, width, height);
  this.element['className'] = 'gwt-Image';
}

function Image_0(){
}

_ = Image_1.prototype = Image_0.prototype = new Widget;
_.getClass$ = function getClass_291(){
  return Lcom_google_gwt_user_client_ui_Image_2_classLit;
}
;
_.onBrowserEvent = function onBrowserEvent_2(event_0){
  $eventGetTypeInt(event_0.type) == 32768 && !!this.state && (this.element['__gwtLastUnhandledEvent'] = '' , undefined);
  $onBrowserEvent(this, event_0);
}
;
_.onLoad = function onLoad_4(){
  var unhandledEvent;
  unhandledEvent = $getPropertyString(this.element, '__gwtLastUnhandledEvent');
  $equals_1('load', unhandledEvent) && addCommand(new Image$State$1_0(this));
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.state = null;
function Image$State(){
}

_ = Image$State.prototype = new Object_0;
_.getClass$ = function getClass_292(){
  return Lcom_google_gwt_user_client_ui_Image$State_2_classLit;
}
;
_.castableTypeMap$ = {};
function Image$ClippedState_0(image, url, left, top_0, width, height){
  var tmp, style;
  this.width_0 = width;
  $replaceElement(image, (tmp = $doc.createElement('span') , tmp.innerHTML = (style = 'width: ' + width + 'px; height: ' + height + 'px; background: url(' + url + ') no-repeat ' + -left + 'px ' + -top_0 + 'px' , "<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='" + $moduleBase + "clear.cache.gif' style='" + style + "' border='0'>") || '' , $getFirstChildElement(tmp)));
  image.eventsToSink == -1?$sinkEvents_0(image.element, 133333119 | (image.element.__eventBits || 0)):(image.eventsToSink |= 133333119);
}

function Image$ClippedState(){
}

_ = Image$ClippedState_0.prototype = Image$ClippedState.prototype = new Image$State;
_.getClass$ = function getClass_293(){
  return Lcom_google_gwt_user_client_ui_Image$ClippedState_2_classLit;
}
;
_.castableTypeMap$ = {};
_.width_0 = 0;
function Image$State$1_0(val$image){
  this.val$image = val$image;
}

function Image$State$1(){
}

_ = Image$State$1_0.prototype = Image$State$1.prototype = new Object_0;
_.execute = function execute_4(){
  var evt, evt_0;
  evt = (evt_0 = $doc.createEvent('HTMLEvents') , evt_0.initEvent('load', false, false) , evt_0);
  this.val$image.element.dispatchEvent(evt);
}
;
_.getClass$ = function getClass_294(){
  return Lcom_google_gwt_user_client_ui_Image$State$1_2_classLit;
}
;
_.castableTypeMap$ = {70:1};
_.val$image = null;
function LayoutCommand$1_0(){
}

function LayoutCommand$1(){
}

_ = LayoutCommand$1_0.prototype = LayoutCommand$1.prototype = new Object_0;
_.getClass$ = function getClass_295(){
  return Lcom_google_gwt_user_client_ui_LayoutCommand$1_2_classLit;
}
;
_.castableTypeMap$ = {};
function $insertItem_0(this$static, item){
  $insertItem_1(this$static, item, item, -1);
}

function $insertItem_1(this$static, item, value, index){
  var before, itemCount, option, select;
  select = this$static.element;
  option = $doc.createElement('option');
  option.text = item;
  option.removeAttribute('bidiwrapped');
  option.value = value;
  itemCount = select.options.length;
  (index < 0 || index > itemCount) && (index = itemCount);
  if (index == itemCount) {
    select.add(option, null);
  }
   else {
    before = select.options[index];
    select.add(option, before);
  }
}

function ListBox_0(){
  this.element = $doc.createElement('select');
  this.element['className'] = 'gwt-ListBox';
}

function ListBox(){
}

_ = ListBox_0.prototype = ListBox.prototype = new FocusWidget;
_.getClass$ = function getClass_296(){
  return Lcom_google_gwt_user_client_ui_ListBox_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function ListenerWrapper(){
}

_ = ListenerWrapper.prototype = new BaseListenerWrapper;
_.getClass$ = function getClass_297(){
  return Lcom_google_gwt_user_client_ui_ListenerWrapper_2_classLit;
}
;
_.castableTypeMap$ = {78:1};
function ListenerWrapper$WrappedTabListener_0(listener){
  this.listener = listener;
}

function add_2(source, listener){
  var t;
  t = new ListenerWrapper$WrappedTabListener_0(listener);
  $addHandler(source, t, (!TYPE_6 && (TYPE_6 = new GwtEvent$Type_0) , TYPE_6));
  $addHandler(source, t, (!TYPE_9 && (TYPE_9 = new GwtEvent$Type_0) , TYPE_9));
}

function ListenerWrapper$WrappedTabListener(){
}

_ = ListenerWrapper$WrappedTabListener_0.prototype = ListenerWrapper$WrappedTabListener.prototype = new ListenerWrapper;
_.getClass$ = function getClass_298(){
  return Lcom_google_gwt_user_client_ui_ListenerWrapper$WrappedTabListener_2_classLit;
}
;
_.onSelection = function onSelection_1(event_0){
  $onTabSelected(this.listener, (dynamicCast(event_0.source, 58) , dynamicCast(event_0.selectedItem, 37).value_0));
}
;
_.castableTypeMap$ = {59:1, 62:1, 78:1};
function $onResize(){
  var style;
  style = null.nullMethod();
  $getClientWidth($doc);
  $getClientHeight($doc);
  style['display'] = ($clinit_42() , 'none');
  null.nullMethod($clinit_45());
  null.nullMethod($clinit_45());
  $getScrollWidth($doc);
  $getScrollHeight($doc);
  null.nullMethod($clinit_45());
  null.nullMethod($clinit_45());
  style['display'] = 'block';
}

function PopupPanel$1_0(){
}

function PopupPanel$1(){
}

_ = PopupPanel$1_0.prototype = PopupPanel$1.prototype = new Object_0;
_.getClass$ = function getClass_299(){
  return Lcom_google_gwt_user_client_ui_PopupPanel$1_2_classLit;
}
;
_.onResize = function onResize_3(event_0){
  $onResize();
}
;
_.castableTypeMap$ = {61:1, 78:1};
function PopupPanel$3_0(this$0){
  this.this$0 = this$0;
}

function PopupPanel$3(){
}

_ = PopupPanel$3_0.prototype = PopupPanel$3.prototype = new Object_0;
_.getClass$ = function getClass_300(){
  return Lcom_google_gwt_user_client_ui_PopupPanel$3_2_classLit;
}
;
_.onPreviewNativeEvent = function onPreviewNativeEvent_0(event_0){
  $previewNativeEvent(this.this$0, event_0);
}
;
_.castableTypeMap$ = {71:1, 78:1};
_.this$0 = null;
function PopupPanel$4_0(this$0){
  this.this$0 = this$0;
}

function PopupPanel$4(){
}

_ = PopupPanel$4_0.prototype = PopupPanel$4.prototype = new Object_0;
_.getClass$ = function getClass_301(){
  return Lcom_google_gwt_user_client_ui_PopupPanel$4_2_classLit;
}
;
_.onValueChange = function onValueChange_1(event_0){
  this.this$0.autoHideOnHistoryEvents && $hide(this.this$0);
}
;
_.castableTypeMap$ = {63:1, 78:1};
_.this$0 = null;
function $maybeShowGlass(this$static){
  if (this$static.showing) {
    if (this$static.curPanel.isGlassEnabled) {
      $doc.body.appendChild(this$static.curPanel.glass);
      $clinit_5();
      this$static.resizeRegistration = addResizeHandler(this$static.curPanel.glassResizer);
      $onResize();
      this$static.glassShowing = true;
    }
  }
   else if (this$static.glassShowing) {
    $doc.body.removeChild(this$static.curPanel.glass);
    $clinit_5();
    $removeHandler(this$static.resizeRegistration.real);
    this$static.resizeRegistration = null;
    this$static.glassShowing = false;
  }
}

function $onComplete(this$static){
  if (!this$static.showing) {
    $maybeShowGlass(this$static);
    this$static.isUnloading || $remove_2(($clinit_70() , get_0()), this$static.curPanel);
    $clinit_5();
    this$static.curPanel.element;
  }
  $setClip(($clinit_5() , this$static.curPanel.element), 'rect(auto, auto, auto, auto)');
  this$static.curPanel.element.style['overflow'] = 'visible';
}

function $onInstantaneousRun(this$static){
  $maybeShowGlass(this$static);
  if (this$static.showing) {
    this$static.curPanel.element.style['position'] = 'absolute';
    this$static.curPanel.topPosition != -1 && $setPopupPosition(this$static.curPanel, this$static.curPanel.leftPosition, this$static.curPanel.topPosition);
    $add_0(($clinit_70() , get_0()), this$static.curPanel);
    $clinit_5();
    this$static.curPanel.element;
  }
   else {
    this$static.isUnloading || $remove_2(($clinit_70() , get_0()), this$static.curPanel);
    $clinit_5();
    this$static.curPanel.element;
  }
  this$static.curPanel.element.style['overflow'] = 'visible';
}

--></script>
<script><!--
function $onUpdate_0(this$static, progress){
  var bottom, height, left, right, top_0, width;
  this$static.showing || (progress = 1 - progress);
  top_0 = 0;
  left = 0;
  right = 0;
  bottom = 0;
  height = ~~Math.max(Math.min(progress * this$static.offsetHeight_0, 2147483647), -2147483648);
  width = ~~Math.max(Math.min(progress * this$static.offsetWidth_0, 2147483647), -2147483648);
  switch (0) {
    case 2:
    case 0:
      top_0 = this$static.offsetHeight_0 - height >> 1;
      left = this$static.offsetWidth_0 - width >> 1;
      right = left + width;
      bottom = top_0 + height;
  }
  $setClip(($clinit_5() , this$static.curPanel.element), 'rect(' + top_0 + 'px, ' + right + 'px, ' + bottom + 'px, ' + left + 'px)');
}

function $setState_0(this$static, showing, isUnloading){
  this$static.isUnloading = isUnloading;
  $cancel(this$static);
  this$static.curPanel.showing = showing;
  $updateHandlers(this$static.curPanel);
  this$static.showing = showing;
  $onInstantaneousRun(this$static);
}

function PopupPanel$ResizeAnimation_0(panel){
  this.curPanel = panel;
}

function PopupPanel$ResizeAnimation(){
}

_ = PopupPanel$ResizeAnimation_0.prototype = PopupPanel$ResizeAnimation.prototype = new Animation;
_.getClass$ = function getClass_302(){
  return Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2_classLit;
}
;
_.onComplete = function onComplete_2(){
  $onComplete(this);
}
;
_.onStart = function onStart_1(){
  this.offsetHeight_0 = parseInt(this.curPanel.element['offsetHeight']) || 0;
  this.offsetWidth_0 = parseInt(this.curPanel.element['offsetWidth']) || 0;
  this.curPanel.element.style['overflow'] = 'hidden';
  $onUpdate_0(this, (1 + Math.cos(3.141592653589793)) / 2);
}
;
_.onUpdate = function onUpdate_1(progress){
  $onUpdate_0(this, progress);
}
;
_.castableTypeMap$ = {14:1};
_.curPanel = null;
_.glassShowing = false;
_.isUnloading = false;
_.offsetHeight_0 = 0;
_.offsetWidth_0 = -1;
_.resizeRegistration = null;
_.showing = false;
function RichTextArea_0(){
  this.impl = new RichTextAreaImplMozilla_0;
  this.element = this.impl.elem;
  this.element['className'] = 'gwt-RichTextArea';
}

function RichTextArea(){
}

_ = RichTextArea_0.prototype = RichTextArea.prototype = new FocusWidget;
_.getClass$ = function getClass_303(){
  return Lcom_google_gwt_user_client_ui_RichTextArea_2_classLit;
}
;
_.onAttach = function onAttach_2(){
  $onAttach_0(this);
  $initElement(this.impl);
}
;
_.onDetach = function onDetach_1(){
  $onDetach(this);
  $uninitElement(this.impl);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function $clinit_70(){
  $clinit_70 = nullMethod;
  maybeDetachCommand = new RootPanel$1_0;
  rootPanels = new HashMap_0;
  widgetsToDetach = new HashSet_0;
}

function RootPanel_0(elem){
  this.children = new WidgetCollection_0(this);
  this.element = elem;
  $onAttach(this);
}

function detachNow(widget){
  $clinit_70();
  try {
    widget.onDetach();
  }
   finally {
    widgetsToDetach.map.remove_2(widget) != null;
  }
}

function detachWidgets(){
  $clinit_70();
  try {
    tryCommand(widgetsToDetach, maybeDetachCommand);
  }
   finally {
    widgetsToDetach.map.clear();
    rootPanels.clear();
  }
}

function get_0(){
  $clinit_70();
  var rp;
  rp = dynamicCast(rootPanels.get(null), 75);
  if (rp) {
    return rp;
  }
  rootPanels.size_0() == 0 && addCloseHandler(new RootPanel$2_0);
  rp = new RootPanel$DefaultRootPanel_0;
  rootPanels.put(null, rp);
  $add_7(widgetsToDetach, rp);
  return rp;
}

function RootPanel(){
}

_ = RootPanel.prototype = new AbsolutePanel;
_.getClass$ = function getClass_304(){
  return Lcom_google_gwt_user_client_ui_RootPanel_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 75:1, 77:1};
var maybeDetachCommand, rootPanels, widgetsToDetach;
function RootPanel$1_0(){
}

function RootPanel$1(){
}

_ = RootPanel$1_0.prototype = RootPanel$1.prototype = new Object_0;
_.execute_0 = function execute_5(w){
  w.isAttached() && w.onDetach();
}
;
_.getClass$ = function getClass_305(){
  return Lcom_google_gwt_user_client_ui_RootPanel$1_2_classLit;
}
;
_.castableTypeMap$ = {};
function RootPanel$2_0(){
}

function RootPanel$2(){
}

_ = RootPanel$2_0.prototype = RootPanel$2.prototype = new Object_0;
_.getClass$ = function getClass_306(){
  return Lcom_google_gwt_user_client_ui_RootPanel$2_2_classLit;
}
;
_.onClose = function onClose_0(closeEvent){
  detachWidgets();
}
;
_.castableTypeMap$ = {60:1, 78:1};
function RootPanel$DefaultRootPanel_0(){
  RootPanel_0.call(this, ($clinit_70() , $doc.body));
}

function RootPanel$DefaultRootPanel(){
}

_ = RootPanel$DefaultRootPanel_0.prototype = RootPanel$DefaultRootPanel.prototype = new RootPanel;
_.getClass$ = function getClass_307(){
  return Lcom_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 75:1, 77:1};
function $getMaximumVerticalScrollPosition(this$static){
  return (this$static.element.scrollHeight || 0) - this$static.element.clientHeight;
}

function $setTouchScrollingDisabled(this$static){
  var scroller, ua;
  if (this$static.touchScroller) {
    return false;
  }
  this$static.touchScroller = (scroller = (!isSupported && (isSupported = ($clinit_77() , (!impl && (impl = new TouchEvent$TouchSupportDetector_0) , impl.isSupported) && !(ua = navigator.userAgent.toLowerCase() , /android ([3-9]+)\.([0-9]+)/.exec(ua) != null)?TRUE:FALSE)) , isSupported.value_0?new TouchScroller_0:null) , !!scroller && $setTargetWidget(scroller, this$static) , scroller);
  return !this$static.touchScroller;
}

function ScrollPanel_0(){
  this.element = $doc.createElement('div');
  !impl_1 && (impl_1 = new ScrollPanel$ImplRtlReversed_0);
  this.element.style['overflow'] = 'auto';
  this.containerElem = $doc.createElement('div');
  this.element.appendChild(this.containerElem);
  this.element.style['position'] = 'relative';
  this.containerElem.style['position'] = 'relative';
  this.element.style['zoom'] = '1';
  this.containerElem.style['zoom'] = '1';
  $setTouchScrollingDisabled(this);
}

function ScrollPanel(){
}

_ = ScrollPanel_0.prototype = ScrollPanel.prototype = new SimplePanel;
_.getClass$ = function getClass_308(){
  return Lcom_google_gwt_user_client_ui_ScrollPanel_2_classLit;
}
;
_.getContainerElement = function getContainerElement_2(){
  return this.containerElem;
}
;
_.onResize_0 = function onResize_4(){
  var child;
  child = this.widget;
  !!child && child != null && child.castableTypeMap$ && !!child.castableTypeMap$[74] && dynamicCast(child, 74).onResize_0();
}
;
_.setHeight_0 = function setHeight_6(height){
  this.element.style['height'] = height;
}
;
_.setSize = function setSize_1(width, height){
  this.element.style['width'] = width;
  this.element.style['height'] = height;
}
;
_.setWidth_0 = function setWidth_6(width){
  this.element.style['width'] = width;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 74:1, 77:1};
_.containerElem = null;
_.touchScroller = null;
var impl_1 = null;
function ScrollPanel$Impl(){
}

_ = ScrollPanel$Impl.prototype = new Object_0;
_.getClass$ = function getClass_309(){
  return Lcom_google_gwt_user_client_ui_ScrollPanel$Impl_2_classLit;
}
;
_.castableTypeMap$ = {};
function $getMaximumHorizontalScrollPosition(scrollable){
  var computedStyle;
  return (computedStyle = $doc.defaultView.getComputedStyle(scrollable, null) , computedStyle.getPropertyValue('direction') == 'rtl')?0:(scrollable.scrollWidth || 0) - scrollable.clientWidth;
}

function $getMinimumHorizontalScrollPosition(scrollable){
  var computedStyle;
  return (computedStyle = $doc.defaultView.getComputedStyle(scrollable, null) , computedStyle.getPropertyValue('direction') == 'rtl')?scrollable.clientWidth - (scrollable.scrollWidth || 0):0;
}

function ScrollPanel$ImplRtlReversed_0(){
}

function ScrollPanel$ImplRtlReversed(){
}

_ = ScrollPanel$ImplRtlReversed_0.prototype = ScrollPanel$ImplRtlReversed.prototype = new ScrollPanel$Impl;
_.getClass$ = function getClass_310(){
  return Lcom_google_gwt_user_client_ui_ScrollPanel$ImplRtlReversed_2_classLit;
}
;
_.castableTypeMap$ = {};
function $next_0(this$static){
  if (!this$static.hasElement || !this$static.this$0.widget) {
    throw new NoSuchElementException_0;
  }
  this$static.hasElement = false;
  return this$static.returned = this$static.this$0.widget;
}

function SimplePanel$1_0(this$0){
  this.this$0 = this$0;
  this.hasElement = !!this.this$0.widget;
}

function SimplePanel$1(){
}

_ = SimplePanel$1_0.prototype = SimplePanel$1.prototype = new Object_0;
_.getClass$ = function getClass_311(){
  return Lcom_google_gwt_user_client_ui_SimplePanel$1_2_classLit;
}
;
_.hasNext = function hasNext_0(){
  return this.hasElement;
}
;
_.next_0 = function next_1(){
  return $next_0(this);
}
;
_.remove_0 = function remove_9(){
  !!this.returned && $remove(this.this$0, this.returned);
}
;
_.castableTypeMap$ = {};
_.returned = null;
_.this$0 = null;
function TabBar$ClickDelegatePanel_0(this$0, child){
  var wrapperWidget;
  this.this$0 = this$0;
  this.focusablePanel = new SimplePanel_0(createFocusable0(focusHandler_0?focusHandler_0:(focusHandler_0 = $createFocusHandler())));
  this.focusablePanel.setWidget(child);
  wrapperWidget = this$0.this$0.createTabTextWrapper();
  if (!wrapperWidget) {
    $initWidget(this, this.focusablePanel);
  }
   else {
    $setWidget(wrapperWidget, this.focusablePanel);
    $initWidget(this, wrapperWidget);
  }
  this.eventsToSink == -1?$sinkEvents_0(this.element, 129 | (this.element.__eventBits || 0)):(this.eventsToSink |= 129);
}

function TabBar$ClickDelegatePanel(){
}

_ = TabBar$ClickDelegatePanel_0.prototype = TabBar$ClickDelegatePanel.prototype = new Composite;
_.getClass$ = function getClass_312(){
  return Lcom_google_gwt_user_client_ui_TabBar$ClickDelegatePanel_2_classLit;
}
;
_.onBrowserEvent = function onBrowserEvent_3(event_0){
  switch ($eventGetTypeInt(event_0.type)) {
    case 1:
      $selectTabByTabWidget(this.this$0, this);
      break;
    case 128:
      ((event_0.keyCode || 0) & 65535) == 13 && $selectTabByTabWidget(this.this$0, this);
      (event_0.keyCode || 0) & 65535;
      (event_0.shiftKey?1:0) | (event_0.metaKey?8:0) | (event_0.ctrlKey?2:0) | (event_0.altKey?4:0);
  }
  $onBrowserEvent(this, event_0);
  this.widget.onBrowserEvent(event_0);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
_.focusablePanel = null;
_.this$0 = null;
function $insertProtected(this$static, w, tabText, beforeIndex){
  var idx, container;
  idx = $indexOf(this$static.children, w);
  if (idx != -1) {
    $remove_5(this$static, w);
    idx < beforeIndex && --beforeIndex;
  }
  $insertTab(this$static.tabBar, tabText, beforeIndex);
  container = $createWidgetContainer();
  $insertChild(this$static.element, container, beforeIndex);
  $insert(this$static, w, container, beforeIndex, true);
  $finishWidgetInitialization(container, w);
}

function $remove_5(this$static, w){
  var idx;
  idx = $indexOf(this$static.children, w);
  if (idx != -1) {
    $removeTab(this$static.tabBar, idx);
    return $remove_3(this$static, w);
  }
  return false;
}

function TabPanel$TabbedDeckPanel_0(tabBar){
  DeckPanel_0.call(this);
  this.tabBar = tabBar;
}

function TabPanel$TabbedDeckPanel(){
}

_ = TabPanel$TabbedDeckPanel_0.prototype = TabPanel$TabbedDeckPanel.prototype = new DeckPanel;
_.add_0 = function add_3(w){
  throw new UnsupportedOperationException_0('Use TabPanel.add() to alter the DeckPanel');
}
;
_.getClass$ = function getClass_313(){
  return Lcom_google_gwt_user_client_ui_TabPanel$TabbedDeckPanel_2_classLit;
}
;
_.remove = function remove_10(w){
  return $remove_5(this, w);
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
_.tabBar = null;
function TabPanel$UnmodifiableTabBar_0(this$0){
  var first, rest, td, td_0, parent_0, parent_1;
  this.this$0 = this$0;
  this.panel = new HorizontalPanel_0;
  $initWidget(this, this.panel);
  this.eventsToSink == -1?$sinkEvents_0(this.element, 1 | (this.element.__eventBits || 0)):(this.eventsToSink |= 1);
  this.element['className'] = 'gwt-TabBar';
  this.panel.element.setAttribute('role', 'tablist');
  this.panel.vertAlign = ($clinit_67() , ALIGN_BOTTOM);
  first = new HTML_1;
  rest = new HTML_1;
  first.element['className'] = 'gwt-TabBarFirst';
  rest.element['className'] = 'gwt-TabBarRest';
  first.element.style['height'] = '100%';
  rest.element.style['height'] = '100%';
  $add_2(this.panel, first);
  $add_2(this.panel, rest);
  first.element.style['height'] = '100%';
  td = $getWidgetTd(this.panel, first);
  !!td && (td['height'] = '100%' , undefined);
  td_0 = $getWidgetTd(this.panel, rest);
  !!td_0 && (td_0['width'] = '100%' , undefined);
  (parent_0 = first.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0)['className'] = 'gwt-TabBarFirst-wrapper';
  (parent_1 = rest.element.parentNode , (!parent_1 || parent_1.nodeType != 1) && (parent_1 = null) , parent_1)['className'] = 'gwt-TabBarRest-wrapper';
}

function TabPanel$UnmodifiableTabBar(){
}

_ = TabPanel$UnmodifiableTabBar_0.prototype = TabPanel$UnmodifiableTabBar.prototype = new TabBar;
_.getClass$ = function getClass_314(){
  return Lcom_google_gwt_user_client_ui_TabPanel$UnmodifiableTabBar_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 58:1};
_.this$0 = null;
function $setSelectionRange(this$static, length_0){
  if (!this$static.attached) {
    return;
  }
  if (length_0 < 0) {
    throw new IndexOutOfBoundsException_1('Length must be a positive integer. Length: ' + length_0);
  }
  if (length_0 > $getPropertyString(this$static.element, 'value').length) {
    throw new IndexOutOfBoundsException_1('From Index: 0  To Index: ' + length_0 + '  Text Length: ' + $getPropertyString(this$static.element, 'value').length);
  }
  $setSelectionRange_0(this$static.element, 0, length_0);
}

function $setText_0(this$static, text){
  this$static.element['value'] = text != null?text:'';
}

function ValueBoxBase_0(elem){
  this.element = elem;
  new AutoDirectionHandler_0;
}

function ValueBoxBase(){
}

_ = ValueBoxBase.prototype = new FocusWidget;
_.getClass$ = function getClass_315(){
  return Lcom_google_gwt_user_client_ui_ValueBoxBase_2_classLit;
}
;
_.onBrowserEvent = function onBrowserEvent_4(event_0){
  var type;
  type = $eventGetTypeInt(event_0.type);
  (type & 896) != 0?$onBrowserEvent(this, event_0):$onBrowserEvent(this, event_0);
}
;
_.onLoad = function onLoad_5(){
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function $clinit_71(){
  $clinit_71 = nullMethod;
  $clinit_75();
}

function TextBoxBase(){
}

_ = TextBoxBase.prototype = new ValueBoxBase;
_.getClass$ = function getClass_316(){
  return Lcom_google_gwt_user_client_ui_TextBoxBase_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function TextArea_1(){
  $clinit_71();
  ValueBoxBase_0.call(this, $doc.createElement('textarea'), (!INSTANCE_1 && (INSTANCE_1 = new PassthroughRenderer_0) , !INSTANCE_0 && (INSTANCE_0 = new PassthroughParser_0)));
  this.element['className'] = 'gwt-TextArea';
}

function TextArea_0(){
}

_ = TextArea_1.prototype = TextArea_0.prototype = new TextBoxBase;
_.getClass$ = function getClass_317(){
  return Lcom_google_gwt_user_client_ui_TextArea_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function TextBox_0(){
  var e;
  $clinit_71();
  ValueBoxBase_0.call(this, (e = $doc.createElement('INPUT') , e.type = 'text' , e), (!INSTANCE_1 && (INSTANCE_1 = new PassthroughRenderer_0) , !INSTANCE_0 && (INSTANCE_0 = new PassthroughParser_0)));
  this.element['className'] = 'gwt-TextBox';
}

function TextBox(){
}

_ = TextBox_0.prototype = TextBox.prototype = new TextBoxBase;
_.getClass$ = function getClass_318(){
  return Lcom_google_gwt_user_client_ui_TextBox_2_classLit;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1};
function $collectElementChain(this$static, chain, hRoot, hElem){
  if (!hElem || hElem == hRoot) {
    return;
  }
  $collectElementChain(this$static, chain, hRoot, $getParentElement(hElem));
  setCheck(chain.array, chain.size++, hElem);
}

function $elementClicked(this$static, hElem){
  var chain, item;
  chain = new ArrayList_0;
  $collectElementChain(this$static, chain, this$static.element, hElem);
  item = $findItemByChain(this$static, chain, 0, this$static.root);
  if (!!item && item != this$static.root) {
    if ($getChildCount(item) > 0 && isOrHasChild($getFirstChildElement((!!item.imageHolder || $convertToFullNode(item) , item.imageHolder)), hElem)) {
      $setState(item, !item.open_0);
      return true;
    }
     else if (isOrHasChild(item.element, hElem)) {
      $onSelection(this$static, item, !shouldTreeDelegateFocusToElement(hElem));
      return true;
    }
  }
  return false;
}

function $findDeepestOpenChild(this$static, item){
  if (!item.open_0) {
    return item;
  }
  return $findDeepestOpenChild(this$static, $getChild(item, $getChildCount(item) - 1));
}

function $findItemByChain(this$static, chain, idx, root){
  var child, hCurElem, i, n, retItem;
  if (idx == chain.size) {
    return root;
  }
  hCurElem = dynamicCastJso((checkIndex(idx, chain.size) , chain.array[idx]));
  for (i = 0 , n = $getChildCount(root); i < n; ++i) {
    child = $getChild(root, i);
    if (child.element == hCurElem) {
      retItem = $findItemByChain(this$static, chain, idx + 1, $getChild(root, i));
      if (!retItem) {
        return child;
      }
      return retItem;
    }
  }
  return $findItemByChain(this$static, chain, idx + 1, root);
}

function $fireStateChanged(this$static, open_0){
  open_0?undefined:fire_1(this$static);
}

function $getTopClosedParent(this$static, item){
  var parent_0, topClosedParent;
  topClosedParent = null;
  parent_0 = item.parent_0;
  while (!!parent_0 && parent_0 != this$static.root) {
    parent_0.open_0 || (topClosedParent = parent_0);
    parent_0 = parent_0.parent_0;
  }
  return topClosedParent;
}

function $keyboardNavigation(this$static, event_0){
  var code, topClosedParent;
  code = event_0.keyCode || 0;
  switch (standardizeKeycode(code)) {
    case 38:
      {
        $moveSelectionUp(this$static, this$static.curSelection);
        break;
      }

    case 40:
      {
        $moveSelectionDown(this$static, this$static.curSelection, true);
        break;
      }

    case 37:
      {
        $maybeCollapseTreeItem(this$static);
        break;
      }

    case 39:
      {
        topClosedParent = $getTopClosedParent(this$static, this$static.curSelection);
        topClosedParent?$setSelectedItem(this$static, topClosedParent):this$static.curSelection.open_0?$getChildCount(this$static.curSelection) > 0 && $setSelectedItem(this$static, $getChild(this$static.curSelection, 0)):$setState(this$static.curSelection, true);
        break;
      }

    default:{
        return;
      }

  }
}

function $maybeCollapseTreeItem(this$static){
  var parent_0, topClosedParent;
  topClosedParent = $getTopClosedParent(this$static, this$static.curSelection);
  if (topClosedParent) {
    $setSelectedItem(this$static, topClosedParent);
  }
   else if (this$static.curSelection.open_0) {
    $setState(this$static.curSelection, false);
  }
   else {
    parent_0 = this$static.curSelection.parent_0;
    !!parent_0 && $setSelectedItem(this$static, parent_0);
  }
}

function $maybeUpdateSelection(this$static, itemThatChangedState, isItemOpening){
  var tempItem;
  if (!isItemOpening) {
    tempItem = this$static.curSelection;
    while (tempItem) {
      if (tempItem == itemThatChangedState) {
        $setSelectedItem(this$static, itemThatChangedState);
        return;
      }
      tempItem = tempItem.parent_0;
    }
  }
}

function $moveFocus(this$static){
  var containerLeft, containerTop, height, left, selectedElem, top_0, width;
  selectedElem = this$static.curSelection.contentElem;
  containerLeft = $getAbsoluteLeft(this$static.element);
  containerTop = $getAbsoluteTop(this$static.element);
  left = $getAbsoluteLeftImpl($getViewportElement(selectedElem.ownerDocument), selectedElem) - containerLeft;
  top_0 = $getAbsoluteTopImpl($getViewportElement(selectedElem.ownerDocument), selectedElem) - containerTop;
  width = parseInt(selectedElem['offsetWidth']) || 0;
  height = parseInt(selectedElem['offsetHeight']) || 0;
  if (width == 0 || height == 0) {
    this$static.focusable.style['left'] = '0';
    this$static.focusable.style['top'] = '0';
    return;
  }
  this$static.focusable.style['left'] = left + 'px';
  this$static.focusable.style['top'] = top_0 + 'px';
  this$static.focusable.style['width'] = width + 'px';
  this$static.focusable.style['height'] = height + 'px';
  $scrollIntoView(this$static.focusable);
  $updateAriaAttributes(this$static);
  this$static.focusable.focus();
}

function $moveSelectionDown(this$static, sel, dig){
  var idx, parent_0, topClosedParent;
  if (sel == this$static.root) {
    return;
  }
  topClosedParent = $getTopClosedParent(this$static, sel);
  if (topClosedParent) {
    $moveSelectionDown(this$static, topClosedParent, false);
    return;
  }
  parent_0 = sel.parent_0;
  !parent_0 && (parent_0 = this$static.root);
  idx = $getChildIndex(parent_0, sel);
  !dig || !sel.open_0?idx < $getChildCount(parent_0) - 1?$onSelection(this$static, $getChild(parent_0, idx + 1), true):$moveSelectionDown(this$static, parent_0, false):$getChildCount(sel) > 0 && $onSelection(this$static, $getChild(sel, 0), true);
}

function $moveSelectionUp(this$static, sel){
  var idx, parent_0, sibling, topClosedParent;
  topClosedParent = $getTopClosedParent(this$static, sel);
  if (topClosedParent) {
    $onSelection(this$static, topClosedParent, true);
    return;
  }
  parent_0 = sel.parent_0;
  !parent_0 && (parent_0 = this$static.root);
  idx = $getChildIndex(parent_0, sel);
  if (idx > 0) {
    sibling = $getChild(parent_0, idx - 1);
    $onSelection(this$static, $findDeepestOpenChild(this$static, sibling), true);
  }
   else {
    $onSelection(this$static, parent_0, true);
  }
}

function $onSelection(this$static, item, moveFocus){
  if (item == this$static.root) {
    return;
  }
  !!this$static.curSelection && $setSelected(this$static.curSelection, false);
  this$static.curSelection = item;
  if (this$static.curSelection) {
    moveFocus && $moveFocus(this$static);
    $setSelected(this$static.curSelection, true);
    fire_3(this$static, this$static.curSelection);
  }
}

function $setImages(this$static, images, useLeafImages){
  var image, size;
  this$static.images = images;
  this$static.useLeafImages = useLeafImages;
  if (!useLeafImages) {
    image = $createImage(images.treeLeaf);
    image.element.style['visibility'] = 'hidden';
    $add_0(($clinit_70() , get_0()), image);
    size = image.state.width_0 + 7;
    $removeFromParent(image);
    this$static.indentValue = size + 'px';
  }
}

function $setSelectedItem(this$static, item){
  if (!item) {
    if (!this$static.curSelection) {
      return;
    }
    $setSelected(this$static.curSelection, false);
    this$static.curSelection = null;
    return;
  }
  $onSelection(this$static, item, true);
}

function $showClosedImage(this$static, treeItem){
  $showImage(treeItem, this$static.images.treeClosed);
}

function $showImage(treeItem, proto){
  var child, holder;
  holder = (!!treeItem.imageHolder || $convertToFullNode(treeItem) , treeItem.imageHolder);
  child = $getFirstChildElement(holder);
  !child?holder.appendChild($createStructure(proto.url, proto.left_0, proto.top_0, proto.width_0, proto.height_0)):($adjust(child, proto.url, proto.left_0, proto.top_0, proto.width_0, proto.height_0) , undefined);
}

function $showLeafImage(this$static, treeItem){
  this$static.useLeafImages || !!treeItem.imageHolder?$showImage(treeItem, this$static.images.treeLeaf):(treeItem.element.style['paddingLeft'] = this$static.indentValue , undefined);
}

function $showOpenImage(this$static, treeItem){
  $showImage(treeItem, this$static.images.treeOpen);
}

function $updateAriaAttributes(this$static){
  var curSelectionContentElem, curSelectionIndex, curSelectionLevel, curSelectionParent, tempItem;
  curSelectionContentElem = this$static.curSelection.contentElem;
  curSelectionLevel = -1;
  tempItem = this$static.curSelection;
  while (tempItem) {
    tempItem = tempItem.parent_0;
    ++curSelectionLevel;
  }
  curSelectionContentElem.setAttribute('aria-level', '' + (curSelectionLevel + 1));
  curSelectionParent = this$static.curSelection.parent_0;
  !curSelectionParent && (curSelectionParent = this$static.root);
  curSelectionContentElem.setAttribute('aria-setsize', '' + $getChildCount(curSelectionParent));
  curSelectionIndex = $getChildIndex(curSelectionParent, this$static.curSelection);
  curSelectionContentElem.setAttribute('aria-posinset', '' + (curSelectionIndex + 1));
  $getChildCount(this$static.curSelection) == 0?(curSelectionContentElem.removeAttribute('aria-expanded') , undefined):this$static.curSelection.open_0?(curSelectionContentElem.setAttribute('aria-expanded', 'true') , undefined):(curSelectionContentElem.setAttribute('aria-expanded', 'false') , undefined);
  curSelectionContentElem.setAttribute('aria-selected', 'true');
  this$static.focusable.setAttribute('aria-activedescendant', curSelectionContentElem.getAttribute('id') || '');
}

function Tree_0(){
  this.childWidgets = new HashMap_0;
  $setImages(this, new Tree$ImageAdapter_0, false);
  this.element = $doc.createElement('div');
  this.element.style['position'] = 'relative';
  this.element.style['zoom'] = '1';
  this.focusable = createFocusable0(focusHandler_0?focusHandler_0:(focusHandler_0 = $createFocusHandler()));
  this.focusable.style['fontSize'] = '0';
  this.focusable.style['position'] = 'absolute';
  this.focusable.style['outline'] = '0px';
  this.focusable.setAttribute('hideFocus', 'true');
  this.focusable.style['zIndex'] = '-1';
  this.element.appendChild(this.focusable);
  this.eventsToSink == -1?$sinkEvents_0(this.element, 901 | (this.element.__eventBits || 0)):(this.eventsToSink |= 901);
  $sinkEvents_0(this.focusable, 6144);
  this.root = new TreeItem_2(true);
  $setTree(this.root, this);
  this.element['className'] = 'gwt-Tree';
  this.element.setAttribute('role', 'tree');
  this.focusable.setAttribute('role', 'treeitem');
}

function isArrowKey(code){
  switch (code) {
    case 63233:
    case 63235:
    case 63232:
    case 63234:
    case 40:
    case 39:
    case 38:
    case 37:
      return true;
    default:return false;
  }
}

function shouldTreeDelegateFocusToElement(elem){
  var name_0 = elem.nodeName;
  return name_0 == 'SELECT' || name_0 == 'INPUT' || name_0 == 'TEXTAREA' || name_0 == 'OPTION' || name_0 == 'BUTTON' || name_0 == 'LABEL';
}

function standardizeKeycode(code){
  switch (code) {
    case 63233:
      code = 40;
      break;
    case 63235:
      code = 39;
      break;
    case 63232:
      code = 38;
      break;
    case 63234:
      code = 37;
  }
  return code;
}

function Tree(){
}

_ = Tree_0.prototype = Tree.prototype = new Widget;
_.doAttachChildren = function doAttachChildren_1(){
  try {
    tryCommand(this, ($clinit_63() , attachCommand));
  }
   finally {
    this.focusable.__listener = this;
  }
}
;
_.doDetachChildren = function doDetachChildren_1(){
  try {
    tryCommand(this, ($clinit_63() , detachCommand));
  }
   finally {
    this.focusable.__listener = null;
  }
}
;
_.getClass$ = function getClass_319(){
  return Lcom_google_gwt_user_client_ui_Tree_2_classLit;
}
;
_.iterator_0 = function iterator_3(){
  var widgets;
  widgets = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, {31:1}, 30, this.childWidgets.size_0(), 0);
  $keySet(this.childWidgets).toArray_0(widgets);
  return new WidgetIterators$1_0(widgets, this);
}
;
_.onBrowserEvent = function onBrowserEvent_5(event_0){
  var chain, e, eventType, item;
  eventType = $eventGetTypeInt(event_0.type);
  switch (eventType) {
    case 128:
      {
        if (!this.curSelection) {
          $getChildCount(this.root) > 0 && $onSelection(this, $getChild(this.root, 0), true);
          $onBrowserEvent(this, event_0);
          return;
        }
      }

    case 256:
    case 512:
      if (!!event_0.altKey || !!event_0.metaKey) {
        $onBrowserEvent(this, event_0);
        return;
      }

  }
  switch (eventType) {
    case 1:
      {
        e = event_0.target;
        if (shouldTreeDelegateFocusToElement(e))
        ;
        else 
          !!this.curSelection && (this.focusable.focus() , undefined);
        break;
      }

    case 4:
      {
        event_0.currentTarget == this.element && $eventGetButton(event_0) == 1 && $elementClicked(this, event_0.target);
        break;
      }

    case 128:
      {
        $keyboardNavigation(this, event_0);
        this.lastWasKeyDown = true;
        break;
      }

    case 256:
      {
        this.lastWasKeyDown || $keyboardNavigation(this, event_0);
        this.lastWasKeyDown = false;
        break;
      }

    case 512:
      {
        if ((event_0.keyCode || 0) == 9) {
          chain = new ArrayList_0;
          $collectElementChain(this, chain, this.element, event_0.target);
          item = $findItemByChain(this, chain, 0, this.root);
          item != this.curSelection && $setSelectedItem(this, item);
        }
        this.lastWasKeyDown = false;
        break;
      }

  }
  switch (eventType) {
    case 128:
    case 512:
      {
        if (isArrowKey(event_0.keyCode || 0)) {
          event_0.cancelBubble = true;
          event_0.preventDefault();
          return;
        }
      }

  }
  $onBrowserEvent(this, event_0);
}
;
_.onLoad = function onLoad_6(){
  $updateStateRecursive(this.root);
}
;
_.remove = function remove_11(w){
  var item;
  item = dynamicCast(this.childWidgets.get(w), 7);
  if (!item) {
    return false;
  }
  item.contentElem.innerHTML = '';
  return true;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
--></script>
<script><!--
_.curSelection = null;
_.focusable = null;
_.images = null;
_.indentValue = null;
_.isAnimationEnabled = false;
_.lastWasKeyDown = false;
_.root = null;
_.useLeafImages = false;
function Tree$ImageAdapter_0(){
  this.treeClosed = create_1(($clinit_72() , treeClosed));
  this.treeLeaf = create_1(($clinit_73() , treeLeaf));
  this.treeOpen = create_1(($clinit_74() , treeOpen));
}

function Tree$ImageAdapter(){
}

_ = Tree$ImageAdapter_0.prototype = Tree$ImageAdapter.prototype = new Object_0;
_.getClass$ = function getClass_320(){
  return Lcom_google_gwt_user_client_ui_Tree$ImageAdapter_2_classLit;
}
;
_.castableTypeMap$ = {};
_.treeClosed = null;
_.treeLeaf = null;
_.treeOpen = null;
function $onUpdate_1(this$static, progress){
  var height, scrollWidth;
  height = ~~Math.max(Math.min(progress * this$static.scrollHeight_0, 2147483647), -2147483648);
  this$static.opening || (height = this$static.scrollHeight_0 - height);
  height = height > 1?height:1;
  this$static.curItem.childSpanElem.style['height'] = height + 'px';
  scrollWidth = parseInt(this$static.curItem.childSpanElem['scrollWidth']) || 0;
  this$static.curItem.childSpanElem.style['width'] = scrollWidth + 'px';
}

function $setItemState(this$static, item, animate){
  $cancel(this$static);
  if (animate) {
    this$static.curItem = item;
    this$static.opening = item.open_0;
    $run(this$static, min(75 * $getChildCount(this$static.curItem)), (new Date).getTime());
  }
   else {
    item.childSpanElem.style.display = item.open_0?'':'none';
  }
}

function TreeItem$TreeItemAnimation_0(){
}

function TreeItem$TreeItemAnimation(){
}

_ = TreeItem$TreeItemAnimation_0.prototype = TreeItem$TreeItemAnimation.prototype = new Animation;
_.getClass$ = function getClass_321(){
  return Lcom_google_gwt_user_client_ui_TreeItem$TreeItemAnimation_2_classLit;
}
;
_.onComplete = function onComplete_3(){
  if (this.curItem) {
    if (this.opening) {
      this.curItem.childSpanElem.style.display = '';
      $onUpdate_1(this, 1);
      this.curItem.childSpanElem.style['height'] = 'auto';
    }
     else {
      this.curItem.childSpanElem.style.display = 'none';
    }
    this.curItem.childSpanElem.style['overflow'] = 'visible';
    this.curItem.childSpanElem.style['width'] = 'auto';
    this.curItem = null;
  }
}
;
_.onStart = function onStart_2(){
  this.scrollHeight_0 = 0;
  this.opening || (this.scrollHeight_0 = this.curItem.childSpanElem.scrollHeight || 0);
  this.curItem.childSpanElem.style['overflow'] = 'hidden';
  $onUpdate_1(this, (1 + Math.cos(3.141592653589793)) / 2);
  if (this.opening) {
    this.curItem.childSpanElem.style.display = '';
    this.scrollHeight_0 = this.curItem.childSpanElem.scrollHeight || 0;
  }
}
;
_.onUpdate = function onUpdate_2(progress){
  $onUpdate_1(this, progress);
}
;
_.castableTypeMap$ = {14:1};
_.curItem = null;
_.opening = true;
_.scrollHeight_0 = 0;
function $convertToFullNode(item){
  var itemTable, tdContent, tdImg, tr;
  if (!item.imageHolder) {
    itemTable = ($clinit_1() , BASE_INTERNAL_ELEM).cloneNode(true);
    item.element.appendChild(itemTable);
    tr = $getFirstChildElement($getFirstChildElement(itemTable));
    tdImg = $getFirstChildElement(tr);
    tdContent = tdImg.nextSibling;
    item.element.style['padding'] = '0px';
    tdContent.appendChild(item.contentElem);
    item.imageHolder = tdImg;
  }
}

function TreeItem$TreeItemImpl_0(){
  var contentElem, tbody, tdContent, tdImg, tr;
  $clinit_1();
  BASE_INTERNAL_ELEM = $doc.createElement('table');
  contentElem = $doc.createElement('div');
  tbody = $doc.createElement('tbody');
  tr = $doc.createElement('tr');
  tdImg = $doc.createElement('td');
  tdContent = $doc.createElement('td');
  BASE_INTERNAL_ELEM.appendChild(tbody);
  tbody.appendChild(tr);
  tr.appendChild(tdImg);
  tr.appendChild(tdContent);
  tdImg.style['verticalAlign'] = 'middle';
  tdContent.style['verticalAlign'] = 'middle';
  tdContent.appendChild(contentElem);
  contentElem.style['display'] = 'inline';
  contentElem['className'] = 'gwt-TreeItem';
  BASE_INTERNAL_ELEM.style['whiteSpace'] = 'nowrap';
  BASE_BARE_ELEM = $doc.createElement('div');
  BASE_BARE_ELEM.style['padding'] = '3px';
  BASE_BARE_ELEM.appendChild(contentElem);
  contentElem.setAttribute('role', 'treeitem');
}

function TreeItem$TreeItemImpl(){
}

_ = TreeItem$TreeItemImpl_0.prototype = TreeItem$TreeItemImpl.prototype = new Object_0;
_.getClass$ = function getClass_322(){
  return Lcom_google_gwt_user_client_ui_TreeItem$TreeItemImpl_2_classLit;
}
;
_.castableTypeMap$ = {};
var treeClosed = null, treeLeaf = null, treeOpen = null;
function $clinit_72(){
  $clinit_72 = nullMethod;
  treeClosed = new ImageResourcePrototype_0('', 16, 16);
}

function $clinit_73(){
  $clinit_73 = nullMethod;
  treeLeaf = new ImageResourcePrototype_0('', 16, 16);
}

function $clinit_74(){
  $clinit_74 = nullMethod;
  treeOpen = new ImageResourcePrototype_0('', 16, 16);
}

function $clinit_75(){
  $clinit_75 = nullMethod;
  CENTER_0 = new ValueBoxBase$TextAlignment$1_0;
  JUSTIFY = new ValueBoxBase$TextAlignment$2_0;
  LEFT = new ValueBoxBase$TextAlignment$3_0;
  RIGHT = new ValueBoxBase$TextAlignment$4_0;
  $VALUES_7 = initValues(_3Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit, {31:1}, 29, [CENTER_0, JUSTIFY, LEFT, RIGHT]);
}

function values_8(){
  $clinit_75();
  return $VALUES_7;
}

function ValueBoxBase$TextAlignment(){
}

_ = ValueBoxBase$TextAlignment.prototype = new Enum;
_.getClass$ = function getClass_323(){
  return Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit;
}
;
_.castableTypeMap$ = {29:1, 31:1, 35:1, 36:1};
var $VALUES_7, CENTER_0, JUSTIFY, LEFT, RIGHT;
function ValueBoxBase$TextAlignment$1_0(){
  this.name_0 = 'CENTER';
  this.ordinal = 0;
}

function ValueBoxBase$TextAlignment$1(){
}

_ = ValueBoxBase$TextAlignment$1_0.prototype = ValueBoxBase$TextAlignment$1.prototype = new ValueBoxBase$TextAlignment;
_.getClass$ = function getClass_324(){
  return Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$1_2_classLit;
}
;
_.castableTypeMap$ = {29:1, 31:1, 35:1, 36:1};
function ValueBoxBase$TextAlignment$2_0(){
  this.name_0 = 'JUSTIFY';
  this.ordinal = 1;
}

function ValueBoxBase$TextAlignment$2(){
}

_ = ValueBoxBase$TextAlignment$2_0.prototype = ValueBoxBase$TextAlignment$2.prototype = new ValueBoxBase$TextAlignment;
_.getClass$ = function getClass_325(){
  return Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$2_2_classLit;
}
;
_.castableTypeMap$ = {29:1, 31:1, 35:1, 36:1};
function ValueBoxBase$TextAlignment$3_0(){
  this.name_0 = 'LEFT';
  this.ordinal = 2;
}

function ValueBoxBase$TextAlignment$3(){
}

_ = ValueBoxBase$TextAlignment$3_0.prototype = ValueBoxBase$TextAlignment$3.prototype = new ValueBoxBase$TextAlignment;
_.getClass$ = function getClass_326(){
  return Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$3_2_classLit;
}
;
_.castableTypeMap$ = {29:1, 31:1, 35:1, 36:1};
function ValueBoxBase$TextAlignment$4_0(){
  this.name_0 = 'RIGHT';
  this.ordinal = 3;
}

function ValueBoxBase$TextAlignment$4(){
}

_ = ValueBoxBase$TextAlignment$4_0.prototype = ValueBoxBase$TextAlignment$4.prototype = new ValueBoxBase$TextAlignment;
_.getClass$ = function getClass_327(){
  return Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$4_2_classLit;
}
;
_.castableTypeMap$ = {29:1, 31:1, 35:1, 36:1};
function $add_3(this$static, w){
  var td, tr, td_0;
  tr = $doc.createElement('tr');
  td = (td_0 = $doc.createElement('td') , td_0['align'] = this$static.horzAlign.textAlignString , td_0.style['verticalAlign'] = this$static.vertAlign.verticalAlignString , td_0);
  tr.appendChild(td);
  this$static.body_0.appendChild(tr);
  $removeFromParent(w);
  $add_4(this$static.children, w);
  td.appendChild(w.element);
  $setParent(w, this$static);
}

function VerticalPanel_0(){
  CellPanel_0.call(this);
  this.horzAlign = ($clinit_66() , ALIGN_DEFAULT);
  this.vertAlign = ($clinit_67() , ALIGN_TOP);
  this.table['cellSpacing'] = '0';
  this.table['cellPadding'] = '0';
}

function VerticalPanel(){
}

_ = VerticalPanel_0.prototype = VerticalPanel.prototype = new CellPanel;
_.getClass$ = function getClass_328(){
  return Lcom_google_gwt_user_client_ui_VerticalPanel_2_classLit;
}
;
_.remove = function remove_12(w){
  var removed, td, parent_0;
  td = (parent_0 = w.element.parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  removed = $remove_1(this, w);
  removed && this.body_0.removeChild($getParentElement(td));
  return removed;
}
;
_.castableTypeMap$ = {20:1, 21:1, 24:1, 27:1, 28:1, 30:1, 77:1};
function $add_4(this$static, w){
  $insert_3(this$static, w, this$static.size);
}

function $get(this$static, index){
  if (index < 0 || index >= this$static.size) {
    throw new IndexOutOfBoundsException_0;
  }
  return this$static.array[index];
}

function $indexOf(this$static, w){
  var i;
  for (i = 0; i < this$static.size; ++i) {
    if (this$static.array[i] == w) {
      return i;
    }
  }
  return -1;
}

function $insert_3(this$static, w, beforeIndex){
  var i, newArray;
  if (beforeIndex < 0 || beforeIndex > this$static.size) {
    throw new IndexOutOfBoundsException_0;
  }
  if (this$static.size == this$static.array.length) {
    newArray = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, {31:1}, 30, this$static.array.length * 2, 0);
    for (i = 0; i < this$static.array.length; ++i) {
      setCheck(newArray, i, this$static.array[i]);
    }
    this$static.array = newArray;
  }
  ++this$static.size;
  for (i = this$static.size - 1; i > beforeIndex; --i) {
    setCheck(this$static.array, i, this$static.array[i - 1]);
  }
  setCheck(this$static.array, beforeIndex, w);
}

function $remove_6(this$static, index){
  var i;
  if (index < 0 || index >= this$static.size) {
    throw new IndexOutOfBoundsException_0;
  }
  --this$static.size;
  for (i = index; i < this$static.size; ++i) {
    setCheck(this$static.array, i, this$static.array[i + 1]);
  }
  setCheck(this$static.array, this$static.size, null);
}

function $remove_7(this$static, w){
  var index;
  index = $indexOf(this$static, w);
  if (index == -1) {
    throw new NoSuchElementException_0;
  }
  $remove_6(this$static, index);
}

function WidgetCollection_0(parent_0){
  this.parent_0 = parent_0;
  this.array = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, {31:1}, 30, 4, 0);
}

function WidgetCollection(){
}

_ = WidgetCollection_0.prototype = WidgetCollection.prototype = new Object_0;
_.getClass$ = function getClass_329(){
  return Lcom_google_gwt_user_client_ui_WidgetCollection_2_classLit;
}
;
_.iterator_0 = function iterator_4(){
  return new WidgetCollection$WidgetIterator_0(this);
}
;
_.castableTypeMap$ = {};
_.array = null;
_.parent_0 = null;
_.size = 0;
function $next_1(this$static){
  if (this$static.index_0 >= this$static.this$0.size) {
    throw new NoSuchElementException_0;
  }
  return this$static.this$0.array[++this$static.index_0];
}

function $remove_8(this$static){
  if (this$static.index_0 < 0 || this$static.index_0 >= this$static.this$0.size) {
    throw new IllegalStateException_0;
  }
  this$static.this$0.parent_0.remove(this$static.this$0.array[this$static.index_0--]);
}

function WidgetCollection$WidgetIterator_0(this$0){
  this.this$0 = this$0;
}

function WidgetCollection$WidgetIterator(){
}

_ = WidgetCollection$WidgetIterator_0.prototype = WidgetCollection$WidgetIterator.prototype = new Object_0;
_.getClass$ = function getClass_330(){
  return Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2_classLit;
}
;
_.hasNext = function hasNext_1(){
  return this.index_0 < this.this$0.size - 1;
}
;
_.next_0 = function next_2(){
  return $next_1(this);
}
;
_.remove_0 = function remove_13(){
  $remove_8(this);
}
;
_.castableTypeMap$ = {};
_.index_0 = -1;
_.this$0 = null;
function copyWidgetArray(widgets){
  var clone, i;
  clone = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, {31:1}, 30, widgets.length, 0);
  for (i = 0; i < widgets.length; ++i) {
    setCheck(clone, i, widgets[i]);
  }
  return clone;
}

function $gotoNextIndex(this$static){
  ++this$static.index_0;
  while (this$static.index_0 < this$static.val$contained.length) {
    if (this$static.val$contained[this$static.index_0]) {
      return;
    }
    ++this$static.index_0;
  }
}

function $next_2(this$static){
  var w;
  if (this$static.index_0 >= this$static.val$contained.length) {
    throw new NoSuchElementException_0;
  }
  this$static.last = this$static.index_0;
  w = this$static.val$contained[this$static.index_0];
  $gotoNextIndex(this$static);
  return w;
}

function WidgetIterators$1_0(val$contained, val$container){
  this.val$contained = val$contained;
  this.val$container = val$container;
  this.widgets = this.val$contained;
  $gotoNextIndex(this);
}

function WidgetIterators$1(){
}

_ = WidgetIterators$1_0.prototype = WidgetIterators$1.prototype = new Object_0;
_.getClass$ = function getClass_331(){
  return Lcom_google_gwt_user_client_ui_WidgetIterators$1_2_classLit;
}
;
_.hasNext = function hasNext_2(){
  return this.index_0 < this.val$contained.length;
}
;
_.next_0 = function next_3(){
  return $next_2(this);
}
;
_.remove_0 = function remove_14(){
  if (this.last < 0) {
    throw new IllegalStateException_0;
  }
  if (!this.widgetsWasCopied) {
    this.widgets = copyWidgetArray(this.widgets);
    this.widgetsWasCopied = true;
  }
  this.val$container.remove(this.val$contained[this.last]);
  this.last = -1;
}
;
_.castableTypeMap$ = {};
_.index_0 = -1;
_.last = -1;
_.val$contained = null;
_.val$container = null;
_.widgetsWasCopied = false;
function $adjust(img, url, left, top_0, width, height){
  var style;
  style = 'url(' + url + ') no-repeat ' + -left + 'px ' + -top_0 + 'px';
  img.style['background'] = style;
  img.style['width'] = width + ($clinit_45() , 'px');
  img.style['height'] = height + 'px';
}

function $createStructure(url, left, top_0, width, height){
  var tmp, style;
  tmp = $doc.createElement('span');
  tmp.innerHTML = (style = 'width: ' + width + 'px; height: ' + height + 'px; background: url(' + url + ') no-repeat ' + -left + 'px ' + -top_0 + 'px' , "<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='" + $moduleBase + "clear.cache.gif' style='" + style + "' border='0'>") || '';
  return $getFirstChildElement(tmp);
}

function $getHTML(url, left, top_0, width, height){
  var clippedImgHtml, style;
  style = 'width: ' + width + 'px; height: ' + height + 'px; background: url(' + url + ') no-repeat ' + -left + 'px ' + -top_0 + 'px';
  clippedImgHtml = "<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='" + $moduleBase + "clear.cache.gif' style='" + style + "' border='0'>";
  return clippedImgHtml;
}

function $createImage(this$static){
  return new Image_1(this$static.url, this$static.left_0, this$static.top_0, this$static.width_0, this$static.height_0);
}

function ClippedImagePrototype_0(url, left, top_0, width, height){
  this.url = url;
  this.left_0 = left;
  this.top_0 = top_0;
  this.width_0 = width;
  this.height_0 = height;
}

function ClippedImagePrototype(){
}

_ = ClippedImagePrototype_0.prototype = ClippedImagePrototype.prototype = new AbstractImagePrototype;
_.getClass$ = function getClass_332(){
  return Lcom_google_gwt_user_client_ui_impl_ClippedImagePrototype_2_classLit;
}
;
_.castableTypeMap$ = {};
_.height_0 = 0;
_.left_0 = 0;
_.top_0 = 0;
_.url = null;
_.width_0 = 0;
function $createFocusHandler(){
  return function(evt){
    var div = this.parentNode;
    div.onfocus && $wnd.setTimeout(function(){
      div.focus();
    }
    , 0);
  }
  ;
}

function createFocusable0(focusHandler){
  var div = $doc.createElement('div');
  div.tabIndex = 0;
  var input = $doc.createElement('input');
  input.type = 'text';
  input.tabIndex = -1;
  var style = input.style;
  style.opacity = 0;
  style.height = '1px';
  style.width = '1px';
  style.zIndex = -1;
  style.overflow = 'hidden';
  style.position = 'absolute';
  input.addEventListener('focus', focusHandler, false);
  div.appendChild(input);
  return div;
}

var focusHandler_0 = null;
function $clinit_76(){
  $clinit_76 = nullMethod;
  isFF2Mac = isFF2Mac_0();
}

function $createElement(){
  var outerElem;
  outerElem = $doc.createElement('div');
  if (isFF2Mac) {
    outerElem.innerHTML = '<div><\/div>';
    addCommand(new PopupImplMozilla$1_0(outerElem));
  }
  return outerElem;
}

function $getContainerElement(outerElem){
  return isFF2Mac?$getFirstChildElement(outerElem):outerElem;
}

function $getStyleElement(outerElem){
  return isFF2Mac?outerElem:$getParentElement(outerElem);
}

function $setClip(popup, rect){
  popup.style['clip'] = rect;
  popup.style['display'] = ($clinit_42() , 'none');
  popup.style['display'] = '';
}

function isFF2Mac_0(){
  function makeVersion(result){
    return parseInt(result[1]) * 1000 + parseInt(result[2]);
  }

  var ua = navigator.userAgent;
  if (ua.indexOf('Macintosh') != -1) {
    var result_0 = /rv:([0-9]+)\.([0-9]+)/.exec(ua);
    if (result_0 && result_0.length == 3) {
      if (makeVersion(result_0) <= 1008) {
        return true;
      }
    }
  }
  return false;
}

var isFF2Mac;
function PopupImplMozilla$1_0(val$outerElem){
  this.val$outerElem = val$outerElem;
}

function PopupImplMozilla$1(){
}

_ = PopupImplMozilla$1_0.prototype = PopupImplMozilla$1.prototype = new Object_0;
_.execute = function execute_6(){
  this.val$outerElem.style['overflow'] = ($clinit_43() , 'auto');
}
;
_.getClass$ = function getClass_333(){
  return Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla$1_2_classLit;
}
;
_.castableTypeMap$ = {70:1};
_.val$outerElem = null;
function RichTextAreaImpl(){
}

_ = RichTextAreaImpl.prototype = new Object_0;
_.createElement_0 = function createElement(){
  return $doc.createElement('textarea');
}
;
_.getClass$ = function getClass_334(){
  return Lcom_google_gwt_user_client_ui_impl_RichTextAreaImpl_2_classLit;
}
;
_.castableTypeMap$ = {};
_.elem = null;
function $getText(this$static){
  return !this$static.beforeInitPlaceholder?this$static.elem.contentWindow.document.body.textContent:this$static.beforeInitPlaceholder.textContent;
}

function $hookEvents(this$static){
  var elem = this$static.elem;
  var wnd = elem.contentWindow;
  elem.__gwt_handler = $entry(function(evt){
    elem.__listener && isMyListener(elem.__listener) && dispatchEvent_0(evt, elem, elem.__listener);
  }
  );
  elem.__gwt_focusHandler = function(evt){
    if (elem.__gwt_isFocused) {
      return;
    }
    elem.__gwt_isFocused = true;
    elem.__gwt_handler(evt);
  }
  ;
  elem.__gwt_blurHandler = function(evt){
    if (!elem.__gwt_isFocused) {
      return;
    }
    elem.__gwt_isFocused = false;
    elem.__gwt_handler(evt);
  }
  ;
  wnd.addEventListener('keydown', elem.__gwt_handler, true);
  wnd.addEventListener('keyup', elem.__gwt_handler, true);
  wnd.addEventListener('keypress', elem.__gwt_handler, true);
  wnd.addEventListener('mousedown', elem.__gwt_handler, true);
  wnd.addEventListener('mouseup', elem.__gwt_handler, true);
  wnd.addEventListener('mousemove', elem.__gwt_handler, true);
  wnd.addEventListener('mouseover', elem.__gwt_handler, true);
  wnd.addEventListener('mouseout', elem.__gwt_handler, true);
  wnd.addEventListener('click', elem.__gwt_handler, true);
  wnd.addEventListener('focus', elem.__gwt_focusHandler, true);
  wnd.addEventListener('blur', elem.__gwt_blurHandler, true);
}

function $setEnabledImpl(this$static, enabled){
  var elem = this$static.elem;
  elem.contentWindow.document.designMode = enabled?'On':'Off';
}

function $setHTMLImpl(this$static, html){
  this$static.elem.contentWindow.document.body.innerHTML = html;
}

function $uninitElement(this$static){
  var enabled, html, elem, wnd, elem_0, elem_1;
  if (this$static.initializing) {
    this$static.initializing = false;
    return;
  }
  elem = this$static.elem;
  wnd = elem.contentWindow;
  wnd.removeEventListener('keydown', elem.__gwt_handler, true);
  wnd.removeEventListener('keyup', elem.__gwt_handler, true);
  wnd.removeEventListener('keypress', elem.__gwt_handler, true);
  wnd.removeEventListener('mousedown', elem.__gwt_handler, true);
  wnd.removeEventListener('mouseup', elem.__gwt_handler, true);
  wnd.removeEventListener('mousemove', elem.__gwt_handler, true);
  wnd.removeEventListener('mouseover', elem.__gwt_handler, true);
  wnd.removeEventListener('mouseout', elem.__gwt_handler, true);
  wnd.removeEventListener('click', elem.__gwt_handler, true);
  wnd.removeEventListener('focus', elem.__gwt_focusHandler, true);
  wnd.removeEventListener('blur', elem.__gwt_blurHandler, true);
  elem.__gwt_handler = null;
  elem.__gwt_focusHandler = null;
  elem.__gwt_blurHandler = null;
  html = !this$static.beforeInitPlaceholder?this$static.elem.contentWindow.document.body.innerHTML:this$static.beforeInitPlaceholder.innerHTML;
  enabled = !this$static.beforeInitPlaceholder?(elem_0 = this$static.elem , elem_0.contentWindow.document.designMode.toUpperCase() == 'ON'):!this$static.beforeInitPlaceholder['disabled'];
  this$static.beforeInitPlaceholder = $doc.createElement('div');
  this$static.beforeInitPlaceholder.innerHTML = html || '';
  !this$static.beforeInitPlaceholder?(elem_1 = this$static.elem , elem_1.contentWindow.document.designMode = enabled?'On':'Off' , undefined):(this$static.beforeInitPlaceholder['disabled'] = !enabled , undefined);
}

function RichTextAreaImplStandard(){
}

_ = RichTextAreaImplStandard.prototype = new RichTextAreaImpl;
_.createElement_0 = function createElement_0(){
  return $doc.createElement('iframe');
}
;
_.getClass$ = function getClass_335(){
  return Lcom_google_gwt_user_client_ui_impl_RichTextAreaImplStandard_2_classLit;
}
;
_.onElementInitialized = function onElementInitialized(){
  var elem;
  if (!this.initializing) {
    return;
  }
  this.initializing = false;
  if (this.beforeInitPlaceholder) {
    $setHTMLImpl(this, this.beforeInitPlaceholder.innerHTML);
    $setEnabledImpl(this, !this.beforeInitPlaceholder?(elem = this.elem , elem.contentWindow.document.designMode.toUpperCase() == 'ON'):!this.beforeInitPlaceholder['disabled']);
    this.beforeInitPlaceholder = null;
  }
  $hookEvents(this);
  if (this.isPendingFocus) {
    this.isPendingFocus = false;
    this.initializing?(this.isPendingFocus = true):$setFocusImpl(this);
  }
}
;
_.onElementInitializing = function onElementInitializing(){
  this.initializing = true;
  this.isPendingFocus = false;
}
;
_.castableTypeMap$ = {};
_.initializing = false;
_.isPendingFocus = false;
function $initElement(this$static){
  var _this = this$static;
  var iframe = _this.elem;
  _this.onElementInitializing();
  _this.isFirstFocus = true;
  iframe.onload = $entry(function(){
    iframe.onload = null;
    iframe.contentWindow.onfocus = function(){
      iframe.contentWindow.onfocus = null;
      iframe.contentWindow.onmouseover = null;
      iframe.contentWindow.document.designMode = 'On';
    }
    ;
    iframe.contentWindow.onmouseover = iframe.contentWindow.onfocus;
    _this.onElementInitialized();
  }
  );
}

function $setFocusImpl(this$static){
  var elem, wnd, evt;
  if (this$static.isFirstFocus) {
    this$static.isFirstFocus = false;
    elem = this$static.elem;
    wnd = elem.contentWindow;
    wnd.removeEventListener('focus', elem.__gwt_focusHandler, true);
    wnd.removeEventListener('blur', elem.__gwt_blurHandler, true);
    wnd.focus();
    wnd.blur();
    wnd.focus();
    wnd.addEventListener('focus', elem.__gwt_focusHandler, true);
    wnd.addEventListener('blur', elem.__gwt_blurHandler, true);
    evt = document.createEvent('HTMLEvents');
    evt.initEvent('focus', false, false);
    wnd.dispatchEvent(evt);
  }
   else {
    this$static.elem.contentWindow.focus();
  }
}

function RichTextAreaImplMozilla_0(){
  this.elem = this.createElement_0();
  this.beforeInitPlaceholder = $doc.createElement('div');
}

function RichTextAreaImplMozilla(){
}

_ = RichTextAreaImplMozilla_0.prototype = RichTextAreaImplMozilla.prototype = new RichTextAreaImplStandard;
_.getClass$ = function getClass_336(){
  return Lcom_google_gwt_user_client_ui_impl_RichTextAreaImplMozilla_2_classLit;
}
;
_.castableTypeMap$ = {};
_.isFirstFocus = false;
function $setSelectionRange_0(elem, pos, length_0){
  try {
    elem.setSelectionRange(pos, pos + length_0);
  }
   catch (e) {
  }
}

function $clearOnReadyStateChange(this$static){
  var self_0 = this$static;
  $wnd.setTimeout(function(){
    self_0.onreadystatechange = new Function;
  }
  , 0);
}

function $setOnReadyStateChange(this$static, handler){
  var _this = this$static;
  this$static.onreadystatechange = $entry(function(){
    handler.onReadyStateChange(_this);
  }
  );
}

function create_2(){
  if ($wnd.XMLHttpRequest) {
    return new $wnd.XMLHttpRequest;
  }
   else {
    try {
      return new $wnd.ActiveXObject('MSXML2.XMLHTTP.3.0');
    }
     catch (e) {
      return new $wnd.ActiveXObject('Microsoft.XMLHTTP');
    }
  }
}

function $removeHandler(this$static){
  this$static.this$0.doRemove(this$static.val$type, this$static.val$source, this$static.val$handler);
}

function SimpleEventBus$1_0(this$0, val$type, val$handler){
  this.this$0 = this$0;
  this.val$type = val$type;
  this.val$source = null;
  this.val$handler = val$handler;
}

function SimpleEventBus$1(){
}

_ = SimpleEventBus$1_0.prototype = SimpleEventBus$1.prototype = new Object_0;
_.getClass$ = function getClass_337(){
  return Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2_classLit;
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
_.val$handler = null;
_.val$source = null;
_.val$type = null;
function SimpleEventBus$2_0(this$0, val$type, val$handler){
  this.this$0 = this$0;
  this.val$type = val$type;
  this.val$source = null;
  this.val$handler = val$handler;
}

function SimpleEventBus$2(){
}

_ = SimpleEventBus$2_0.prototype = SimpleEventBus$2.prototype = new Object_0;
_.execute = function execute_7(){
  $doAddNow(this.this$0, this.val$type, this.val$source, this.val$handler);
}
;
_.getClass$ = function getClass_338(){
  return Lcom_google_web_bindery_event_shared_SimpleEventBus$2_2_classLit;
}
;
_.castableTypeMap$ = {81:1};
_.this$0 = null;
_.val$handler = null;
_.val$source = null;
_.val$type = null;
function SimpleEventBus$3_0(this$0, val$type, val$source, val$handler){
  this.this$0 = this$0;
  this.val$type = val$type;
  this.val$source = val$source;
  this.val$handler = val$handler;
}

function SimpleEventBus$3(){
}

_ = SimpleEventBus$3_0.prototype = SimpleEventBus$3.prototype = new Object_0;
_.execute = function execute_8(){
  $doRemoveNow(this.this$0, this.val$type, this.val$source, this.val$handler);
}
;
_.getClass$ = function getClass_339(){
  return Lcom_google_web_bindery_event_shared_SimpleEventBus$3_2_classLit;
}
;
_.castableTypeMap$ = {81:1};
_.this$0 = null;
_.val$handler = null;
_.val$source = null;
_.val$type = null;
function ArithmeticException_0(){
  $fillInStackTrace();
  this.detailMessage = 'divide by zero';
}

function ArithmeticException(){
}

_ = ArithmeticException_0.prototype = ArithmeticException.prototype = new RuntimeException;
_.getClass$ = function getClass_340(){
  return Ljava_lang_ArithmeticException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function ArrayStoreException_0(){
  $fillInStackTrace();
}

function ArrayStoreException(){
}

_ = ArrayStoreException_0.prototype = ArrayStoreException.prototype = new RuntimeException;
_.getClass$ = function getClass_341(){
  return Ljava_lang_ArrayStoreException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function $clinit_77(){
  $clinit_77 = nullMethod;
  FALSE = new Boolean_1(false);
  TRUE = new Boolean_1(true);
}

function Boolean_1(value){
  this.value_0 = value;
}

function Boolean_0(){
}

_ = Boolean_1.prototype = Boolean_0.prototype = new Object_0;
_.equals$ = function equals_7(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[9] && dynamicCast(o, 9).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_342(){
  return Ljava_lang_Boolean_2_classLit;
}
;
_.hashCode$ = function hashCode_9(){
  return this.value_0?1231:1237;
}
;
_.toString$ = function toString_14(){
  return this.value_0?'true':'false';
}
;
_.castableTypeMap$ = {9:1, 31:1, 35:1};
_.value_0 = false;
var FALSE, TRUE;
function Number_0(){
}

_ = Number_0.prototype = new Object_0;
_.getClass$ = function getClass_343(){
  return Ljava_lang_Number_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 39:1};
function Byte_0(value){
  this.value_0 = value;
}

function valueOf(b){
  var rebase, result;
  rebase = b + 128;
  result = ($clinit_78() , boxedValues_0)[rebase];
  !result && (result = boxedValues_0[rebase] = new Byte_0(b));
  return result;
}

function Byte(){
}

_ = Byte_0.prototype = Byte.prototype = new Number_0;
_.equals$ = function equals_8(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[32] && dynamicCast(o, 32).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_344(){
  return Ljava_lang_Byte_2_classLit;
}
;
_.hashCode$ = function hashCode_10(){
  return this.value_0;
}
;
_.toString$ = function toString_15(){
  return '' + this.value_0;
}
;
_.castableTypeMap$ = {31:1, 32:1, 35:1, 39:1};
_.value_0 = 0;
--></script>
<script><!--
function $clinit_78(){
  $clinit_78 = nullMethod;
  boxedValues_0 = initDim(_3Ljava_lang_Byte_2_classLit, {31:1}, 32, 256, 0);
}

var boxedValues_0;
function Character_0(value){
  this.value_0 = value;
}

function valueOf_0(c){
  var result;
  if (c < 128) {
    result = ($clinit_79() , boxedValues_1)[c];
    !result && (result = boxedValues_1[c] = new Character_0(c));
    return result;
  }
  return new Character_0(c);
}

function Character(){
}

_ = Character_0.prototype = Character.prototype = new Object_0;
_.equals$ = function equals_9(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[34] && dynamicCast(o, 34).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_345(){
  return Ljava_lang_Character_2_classLit;
}
;
_.hashCode$ = function hashCode_11(){
  return this.value_0;
}
;
_.toString$ = function toString_16(){
  return String.fromCharCode(this.value_0);
}
;
_.castableTypeMap$ = {31:1, 34:1, 35:1};
_.value_0 = 0;
function $clinit_79(){
  $clinit_79 = nullMethod;
  boxedValues_1 = initDim(_3Ljava_lang_Character_2_classLit, {31:1}, 34, 128, 0);
}

var boxedValues_1;
function Class_0(){
}

function createForArray(packageName, className){
  var clazz;
  clazz = new Class_0;
  clazz.typeName = packageName + className;
  clazz.modifiers = 4;
  return clazz;
}

function createForClass(packageName, className){
  var clazz;
  clazz = new Class_0;
  clazz.typeName = packageName + className;
  return clazz;
}

function createForEnum(packageName, className, superclass, enumConstantsFunc){
  var clazz;
  clazz = new Class_0;
  clazz.typeName = packageName + className;
  clazz.modifiers = enumConstantsFunc?8:0;
  clazz.enumSuperclass = superclass;
  return clazz;
}

function Class(){
}

_ = Class_0.prototype = Class.prototype = new Object_0;
_.getClass$ = function getClass_346(){
  return Ljava_lang_Class_2_classLit;
}
;
_.toString$ = function toString_17(){
  return ((this.modifiers & 2) != 0?'interface ':(this.modifiers & 1) != 0?'':'class ') + this.typeName;
}
;
_.castableTypeMap$ = {};
_.enumSuperclass = null;
_.modifiers = 0;
_.typeName = null;
function ClassCastException_0(){
  $fillInStackTrace();
}

function ClassCastException(){
}

_ = ClassCastException_0.prototype = ClassCastException.prototype = new RuntimeException;
_.getClass$ = function getClass_347(){
  return Ljava_lang_ClassCastException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function Double_0(value){
  this.value_0 = value;
}

function Double(){
}

_ = Double_0.prototype = Double.prototype = new Number_0;
_.equals$ = function equals_10(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[83] && dynamicCast(o, 83).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_348(){
  return Ljava_lang_Double_2_classLit;
}
;
_.hashCode$ = function hashCode_12(){
  return ~~Math.max(Math.min(this.value_0, 2147483647), -2147483648);
}
;
_.toString$ = function toString_18(){
  return '' + this.value_0;
}
;
_.castableTypeMap$ = {31:1, 35:1, 39:1, 83:1};
_.value_0 = 0;
function Float_0(value){
  this.value_0 = value;
}

function Float(){
}

_ = Float_0.prototype = Float.prototype = new Number_0;
_.equals$ = function equals_11(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[84] && dynamicCast(o, 84).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_349(){
  return Ljava_lang_Float_2_classLit;
}
;
_.hashCode$ = function hashCode_13(){
  return ~~Math.max(Math.min(this.value_0, 2147483647), -2147483648);
}
;
_.toString$ = function toString_19(){
  return '' + this.value_0;
}
;
_.castableTypeMap$ = {31:1, 35:1, 39:1, 84:1};
_.value_0 = 0;
function IllegalArgumentException_0(){
  $fillInStackTrace();
}

function IllegalArgumentException_1(message){
  $fillInStackTrace();
  this.detailMessage = message;
}

function IllegalArgumentException(){
}

_ = IllegalArgumentException_1.prototype = IllegalArgumentException_0.prototype = IllegalArgumentException.prototype = new RuntimeException;
_.getClass$ = function getClass_350(){
  return Ljava_lang_IllegalArgumentException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function IllegalStateException_0(){
  $fillInStackTrace();
}

function IllegalStateException_1(s){
  $fillInStackTrace();
  this.detailMessage = s;
}

function IllegalStateException(){
}

_ = IllegalStateException_1.prototype = IllegalStateException_0.prototype = IllegalStateException.prototype = new RuntimeException;
_.getClass$ = function getClass_351(){
  return Ljava_lang_IllegalStateException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function IndexOutOfBoundsException_0(){
  $fillInStackTrace();
}

function IndexOutOfBoundsException_1(message){
  $fillInStackTrace();
  this.detailMessage = message;
}

function IndexOutOfBoundsException(){
}

_ = IndexOutOfBoundsException_1.prototype = IndexOutOfBoundsException_0.prototype = IndexOutOfBoundsException.prototype = new RuntimeException;
_.getClass$ = function getClass_352(){
  return Ljava_lang_IndexOutOfBoundsException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function Integer_0(value){
  this.value_0 = value;
}

function numberOfLeadingZeros_0(i){
  var m_0, n, y;
  if (i < 0) {
    return 0;
  }
   else if (i == 0) {
    return 32;
  }
   else {
    y = -(i >> 16);
    m_0 = y >> 16 & 16;
    n = 16 - m_0;
    i = i >> m_0;
    y = i - 256;
    m_0 = y >> 16 & 8;
    n += m_0;
    i <<= m_0;
    y = i - 4096;
    m_0 = y >> 16 & 4;
    n += m_0;
    i <<= m_0;
    y = i - 16384;
    m_0 = y >> 16 & 2;
    n += m_0;
    i <<= m_0;
    y = i >> 14;
    m_0 = y & ~(y >> 1);
    return n + 2 - m_0;
  }
}

function numberOfTrailingZeros(i){
  var r, rtn;
  if (i == 0) {
    return 32;
  }
   else {
    rtn = 0;
    for (r = 1; (r & i) == 0; r <<= 1) {
      ++rtn;
    }
    return rtn;
  }
}

function toPowerOfTwoString(value){
  var buf, digits, pos;
  buf = initDim(_3C_classLit, {31:1}, -1, 8, 1);
  digits = ($clinit_82() , digits_0);
  pos = 7;
  if (value >= 0) {
    while (value > 15) {
      buf[pos--] = digits[value & 15];
      value >>= 4;
    }
  }
   else {
    while (pos > 0) {
      buf[pos--] = digits[value & 15];
      value >>= 4;
    }
  }
  buf[pos] = digits[value & 15];
  return __valueOf(buf, pos, 8);
}

function valueOf_1(i){
  var rebase, result;
  if (i > -129 && i < 128) {
    rebase = i + 128;
    result = ($clinit_80() , boxedValues_2)[rebase];
    !result && (result = boxedValues_2[rebase] = new Integer_0(i));
    return result;
  }
  return new Integer_0(i);
}

function Integer(){
}

_ = Integer_0.prototype = Integer.prototype = new Number_0;
_.equals$ = function equals_12(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[37] && dynamicCast(o, 37).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_353(){
  return Ljava_lang_Integer_2_classLit;
}
;
_.hashCode$ = function hashCode_14(){
  return this.value_0;
}
;
_.toString$ = function toString_20(){
  return '' + this.value_0;
}
;
_.castableTypeMap$ = {31:1, 35:1, 37:1, 39:1};
_.value_0 = 0;
function $clinit_80(){
  $clinit_80 = nullMethod;
  boxedValues_2 = initDim(_3Ljava_lang_Integer_2_classLit, {31:1}, 37, 256, 0);
}

var boxedValues_2;
function Long_0(value){
  this.value_0 = value;
}

function valueOf_2(i){
  var rebase, result;
  if (gt(i, N81_longLit) && !gte_0(i, P80_longLit)) {
    rebase = (i.l | i.m << 22) + 128;
    result = ($clinit_81() , boxedValues_3)[rebase];
    !result && (result = boxedValues_3[rebase] = new Long_0(i));
    return result;
  }
  return new Long_0(i);
}

function Long(){
}

_ = Long_0.prototype = Long.prototype = new Number_0;
_.equals$ = function equals_13(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[38] && eq_0(dynamicCast(o, 38).value_0, this.value_0);
}
;
_.getClass$ = function getClass_354(){
  return Ljava_lang_Long_2_classLit;
}
;
_.hashCode$ = function hashCode_15(){
  return toInt(this.value_0);
}
;
_.toString$ = function toString_21(){
  return '' + toString_11(this.value_0);
}
;
_.castableTypeMap$ = {31:1, 35:1, 38:1, 39:1};
_.value_0 = P0_longLit;
function $clinit_81(){
  $clinit_81 = nullMethod;
  boxedValues_3 = initDim(_3Ljava_lang_Long_2_classLit, {31:1}, 38, 256, 0);
}

var boxedValues_3;
function abs(x){
  return x <= 0?0 - x:x;
}

function max(y){
  return 1 > y?1:y;
}

function min(y){
  return 200 < y?200:y;
}

function NullPointerException_0(){
  $fillInStackTrace();
}

function NullPointerException_1(message){
  $fillInStackTrace();
  this.detailMessage = message;
}

function NullPointerException(){
}

_ = NullPointerException_1.prototype = NullPointerException_0.prototype = NullPointerException.prototype = new RuntimeException;
_.getClass$ = function getClass_355(){
  return Ljava_lang_NullPointerException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function $clinit_82(){
  $clinit_82 = nullMethod;
  digits_0 = initValues(_3C_classLit, {31:1}, -1, [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122]);
}

var digits_0;
function NumberFormatException_0(){
  $fillInStackTrace();
}

function NumberFormatException(){
}

_ = NumberFormatException_0.prototype = NumberFormatException.prototype = new IllegalArgumentException;
_.getClass$ = function getClass_356(){
  return Ljava_lang_NumberFormatException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function Short_0(value){
  this.value_0 = value;
}

function valueOf_3(s){
  var rebase, result;
  if (s > -129 && s < 128) {
    rebase = s + 128;
    result = ($clinit_83() , boxedValues_4)[rebase];
    !result && (result = boxedValues_4[rebase] = new Short_0(s));
    return result;
  }
  return new Short_0(s);
}

function Short(){
}

_ = Short_0.prototype = Short.prototype = new Number_0;
_.equals$ = function equals_14(o){
  return o != null && o.castableTypeMap$ && !!o.castableTypeMap$[40] && dynamicCast(o, 40).value_0 == this.value_0;
}
;
_.getClass$ = function getClass_357(){
  return Ljava_lang_Short_2_classLit;
}
;
_.hashCode$ = function hashCode_16(){
  return this.value_0;
}
;
_.toString$ = function toString_22(){
  return '' + this.value_0;
}
;
_.castableTypeMap$ = {31:1, 35:1, 39:1, 40:1};
_.value_0 = 0;
function $clinit_83(){
  $clinit_83 = nullMethod;
  boxedValues_4 = initDim(_3Ljava_lang_Short_2_classLit, {31:1}, 40, 256, 0);
}

var boxedValues_4;
function StackTraceElement_0(methodName){
  this.className_0 = 'Unknown';
  this.methodName = methodName;
  this.lineNumber = -1;
}

function StackTraceElement(){
}

_ = StackTraceElement_0.prototype = StackTraceElement.prototype = new Object_0;
_.getClass$ = function getClass_358(){
  return Ljava_lang_StackTraceElement_2_classLit;
}
;
_.toString$ = function toString_23(){
  return this.className_0 + '.' + this.methodName + '(Unknown Source' + (this.lineNumber >= 0?':' + this.lineNumber:'') + ')';
}
;
_.castableTypeMap$ = {31:1, 41:1};
_.className_0 = null;
_.lineNumber = 0;
_.methodName = null;
function $equals_1(this$static, other){
  if (!(other != null && other.castableTypeMap$ && !!other.castableTypeMap$[1])) {
    return false;
  }
  return String(this$static) == other;
}

function $equalsIgnoreCase(this$static, other){
  if (other == null)
    return false;
  return this$static == other || this$static.toLowerCase() == other.toLowerCase();
}

function $split(this$static, regex, maxMatch){
  var compiled = new RegExp(regex, 'g');
  var out = [];
  var count = 0;
  var trail = this$static;
  var lastTrail = null;
  while (true) {
    var matchObj = compiled.exec(trail);
    if (matchObj == null || trail == '' || count == maxMatch - 1 && maxMatch > 0) {
      out[count] = trail;
      break;
    }
     else {
      out[count] = trail.substring(0, matchObj.index);
      trail = trail.substring(matchObj.index + matchObj[0].length, trail.length);
      compiled.lastIndex = 0;
      if (lastTrail == trail) {
        out[count] = trail.substring(0, 1);
        trail = trail.substring(1);
      }
      lastTrail = trail;
      count++;
    }
  }
  if (maxMatch == 0 && this$static.length > 0) {
    var lastNonEmpty = out.length;
    while (lastNonEmpty > 0 && out[lastNonEmpty - 1] == '') {
      --lastNonEmpty;
    }
    lastNonEmpty < out.length && out.splice(lastNonEmpty, out.length - lastNonEmpty);
  }
  var jr = initDim(_3Ljava_lang_String_2_classLit, {31:1}, 1, out.length, 0);
  for (var i = 0; i < out.length; ++i) {
    jr[i] = out[i];
  }
  return jr;
}

function $substring(this$static, beginIndex){
  return this$static.substr(beginIndex, this$static.length - beginIndex);
}

function $trim(this$static){
  if (this$static.length == 0 || this$static[0] > ' ' && this$static[this$static.length - 1] > ' ') {
    return this$static;
  }
  var r1 = this$static.replace(/^(\s*)/, '');
  var r2 = r1.replace(/\s*$/, '');
  return r2;
}

function __valueOf(x, start, end){
  x = x.slice(start, end);
  return String.fromCharCode.apply(null, x);
}

_ = String.prototype;
_.equals$ = function equals_15(other){
  return $equals_1(this, other);
}
;
_.getClass$ = function getClass_359(){
  return Ljava_lang_String_2_classLit;
}
;
_.hashCode$ = function hashCode_17(){
  return getHashCode_0(this);
}
;
_.toString$ = function toString_24(){
  return this;
}
;
_.castableTypeMap$ = {1:1, 31:1, 33:1, 35:1};
function $clinit_84(){
  $clinit_84 = nullMethod;
  back_0 = {};
  front = {};
}

function compute(str){
  var hashCode, i, n, nBatch;
  hashCode = 0;
  n = str.length;
  nBatch = n - 4;
  i = 0;
  while (i < nBatch) {
    hashCode = str.charCodeAt(i + 3) + 31 * (str.charCodeAt(i + 2) + 31 * (str.charCodeAt(i + 1) + 31 * (str.charCodeAt(i) + 31 * hashCode))) | 0;
    i += 4;
  }
  while (i < n) {
    hashCode = hashCode * 31 + str.charCodeAt(i++);
  }
  return hashCode | 0;
}

function getHashCode_0(str){
  $clinit_84();
  var key = ':' + str;
  var result = front[key];
  if (result != null) {
    return result;
  }
  result = back_0[key];
  result == null && (result = compute(str));
  increment();
  return front[key] = result;
}

function increment(){
  if (count_0 == 256) {
    back_0 = front;
    front = {};
    count_0 = 0;
  }
  ++count_0;
}

var back_0, count_0 = 0, front;
function $append(this$static, x){
  this$static.impl.string += x;
  return this$static;
}

function $replace_0(this$static, start, toInsert){
  $replace(this$static.impl, start, toInsert);
  return this$static;
}

function StringBuffer_0(){
  this.impl = new StringBufferImplAppend_0;
}

function StringBuffer_1(){
  this.impl = new StringBufferImplAppend_0;
  this.impl.string += '000000000';
}

function StringBuffer(){
}

_ = StringBuffer_1.prototype = StringBuffer_0.prototype = StringBuffer.prototype = new Object_0;
_.getClass$ = function getClass_360(){
  return Ljava_lang_StringBuffer_2_classLit;
}
;
_.toString$ = function toString_25(){
  return this.impl.string;
}
;
_.castableTypeMap$ = {33:1};
function StringBuilder_0(){
  this.impl = new StringBufferImplAppend_0;
}

function StringBuilder(){
}

_ = StringBuilder_0.prototype = StringBuilder.prototype = new Object_0;
_.getClass$ = function getClass_361(){
  return Ljava_lang_StringBuilder_2_classLit;
}
;
_.toString$ = function toString_26(){
  return this.impl.string;
}
;
_.castableTypeMap$ = {33:1};
function identityHashCode(o){
  return o == null?0:o != null && o.castableTypeMap$ && !!o.castableTypeMap$[1]?getHashCode_0(dynamicCast(o, 1)):o.$H || (o.$H = ++sNextHashId);
}

function UnsupportedOperationException_0(message){
  $fillInStackTrace();
  this.detailMessage = message;
}

function UnsupportedOperationException(){
}

_ = UnsupportedOperationException_0.prototype = UnsupportedOperationException.prototype = new RuntimeException;
_.getClass$ = function getClass_362(){
  return Ljava_lang_UnsupportedOperationException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function Date_4(date){
  this.jsdate = new Date(toDouble(date));
}

function Date_3(){
}

_ = Date_4.prototype = Date_3.prototype = new Date_0;
_.getClass$ = function getClass_363(){
  return Ljava_sql_Date_2_classLit;
}
;
_.toString$ = function toString_27(){
  return '' + (1900 + (this.jsdate.getFullYear() - 1900)) + '-' + padTwo(this.jsdate.getMonth() + 1) + '-' + padTwo(this.jsdate.getDate());
}
;
_.castableTypeMap$ = {31:1, 35:1, 43:1};
function Time_0(time){
  this.jsdate = new Date(toDouble(time));
}

function Time(){
}

_ = Time_0.prototype = Time.prototype = new Date_0;
_.getClass$ = function getClass_364(){
  return Ljava_sql_Time_2_classLit;
}
;
_.toString$ = function toString_28(){
  return padTwo(this.jsdate.getHours()) + ':' + padTwo(this.jsdate.getMinutes()) + ':' + padTwo(this.jsdate.getSeconds());
}
;
_.castableTypeMap$ = {31:1, 35:1, 43:1};
function $equals_2(this$static, ts){
  return eq_0(fromDouble(this$static.jsdate.getTime()), fromDouble(ts.jsdate.getTime())) && this$static.nanos == ts.nanos;
}

function $setNanos(this$static, n){
  if (n < 0 || n > 999999999) {
    throw new IllegalArgumentException_1('nanos out of range ' + n);
  }
  this$static.nanos = n;
  $setTime(this$static, add_0(mul(divMod(fromDouble(this$static.jsdate.getTime()), P3e8_longLit, false), P3e8_longLit), fromInt(~~(this$static.nanos / 1000000))));
}

function Timestamp_0(time){
  this.jsdate = new Date(toDouble(time));
  this.nanos = toInt((divMod(time, P3e8_longLit, true) , remainder)) * 1000000;
}

function padNine(value){
  var asString, toReturn;
  toReturn = new StringBuffer_1;
  asString = '' + value;
  toReturn = $replace_0(toReturn, 9 - asString.length, asString);
  return toReturn.impl.string;
}

function Timestamp(){
}

_ = Timestamp_0.prototype = Timestamp.prototype = new Date_0;
_.equals$ = function equals_16(ts){
  return ts != null && ts.castableTypeMap$ && !!ts.castableTypeMap$[85] && $equals_2(this, dynamicCast(ts, 85));
}
;
_.getClass$ = function getClass_365(){
  return Ljava_sql_Timestamp_2_classLit;
}
;
_.getTime_0 = function getTime_0(){
  return fromDouble(this.jsdate.getTime());
}
;
_.hashCode$ = function hashCode_18(){
  var time;
  return time = this.getTime_0() , toInt(xor(time, shru(time, 32)));
}
;
_.toString$ = function toString_29(){
  return '' + (1900 + (this.jsdate.getFullYear() - 1900)) + '-' + padTwo(1 + this.jsdate.getMonth()) + '-' + padTwo(this.jsdate.getDate()) + ' ' + padTwo(this.jsdate.getHours()) + ':' + padTwo(this.jsdate.getMinutes()) + ':' + padTwo(this.jsdate.getSeconds()) + '.' + padNine(this.nanos);
}
;
_.castableTypeMap$ = {31:1, 35:1, 43:1, 85:1};
_.nanos = 0;
function $advanceToFind(iter, o){
  var t;
  while (iter.hasNext()) {
    t = iter.next_0();
    if (o == null?t == null:equals__devirtual$(o, t)) {
      return iter;
    }
  }
  return null;
}

function $toString_2(this$static){
  var comma, iter, sb, value;
  sb = new StringBuffer_0;
  comma = null;
  sb.impl.string += '[';
  iter = this$static.iterator_0();
  while (iter.hasNext()) {
    comma != null?(sb.impl.string += comma , sb):(comma = ', ');
    value = iter.next_0();
    sb.impl.string += value === this$static?'(this Collection)':'' + value;
  }
  sb.impl.string += ']';
  return sb.impl.string;
}

function AbstractCollection(){
}

_ = AbstractCollection.prototype = new Object_0;
_.add_1 = function add_4(o){
  throw new UnsupportedOperationException_0('Add not supported on this collection');
}
;
_.contains = function contains(o){
  var iter;
  iter = $advanceToFind(this.iterator_0(), o);
  return !!iter;
}
;
_.getClass$ = function getClass_366(){
  return Ljava_util_AbstractCollection_2_classLit;
}
;
_.isEmpty = function isEmpty(){
  return this.size_0() == 0;
}
;
_.remove_1 = function remove_15(o){
  var iter;
  iter = $advanceToFind(this.iterator_0(), o);
  if (iter) {
    iter.remove_0();
    return true;
  }
   else {
    return false;
  }
}
;
_.toArray = function toArray(){
  return this.toArray_0(initDim(_3Ljava_lang_Object_2_classLit, {31:1}, 0, this.size_0(), 0));
}
;
_.toArray_0 = function toArray_0(a_0){
  var i, it, size;
  size = this.size_0();
  a_0.length < size && (a_0 = createFrom(a_0, size));
  it = this.iterator_0();
  for (i = 0; i < size; ++i) {
    setCheck(a_0, i, it.next_0());
  }
  a_0.length > size && setCheck(a_0, size, null);
  return a_0;
}
;
_.toString$ = function toString_30(){
  return $toString_2(this);
}
;
_.castableTypeMap$ = {};
function $implFindEntry(this$static, key, remove){
  var entry, iter, k;
  for (iter = this$static.entrySet().iterator_0(); iter.hasNext();) {
    entry = dynamicCast(iter.next_0(), 66);
    k = entry.getKey();
    if (key == null?k == null:equals__devirtual$(key, k)) {
      remove && iter.remove_0();
      return entry;
    }
  }
  return null;
}

function $keySet(this$static){
  var entrySet;
  entrySet = this$static.entrySet();
  return new AbstractMap$1_0(this$static, entrySet);
}

function $values(this$static){
  var entrySet;
  entrySet = new LinkedHashMap$EntrySet_0(this$static);
  return new AbstractMap$2_0(this$static, entrySet);
}

function AbstractMap(){
}

_ = AbstractMap.prototype = new Object_0;
_.containsKey = function containsKey(key){
  return !!$implFindEntry(this, key, false);
}
;
_.equals$ = function equals_17(obj){
  var entry, entry$iterator, otherKey, otherMap, otherValue;
  if (obj === this) {
    return true;
  }
  if (!(obj != null && obj.castableTypeMap$ && !!obj.castableTypeMap$[79])) {
    return false;
  }
  otherMap = dynamicCast(obj, 79);
  if (this.size_0() != otherMap.size_0()) {
    return false;
  }
  for (entry$iterator = otherMap.entrySet().iterator_0(); entry$iterator.hasNext();) {
    entry = dynamicCast(entry$iterator.next_0(), 66);
    otherKey = entry.getKey();
    otherValue = entry.getValue();
    if (!this.containsKey(otherKey)) {
      return false;
    }
    if (!equalsWithNullCheck(otherValue, this.get(otherKey))) {
      return false;
    }
  }
  return true;
}
;
_.get = function get_1(key){
  var entry;
  entry = $implFindEntry(this, key, false);
  return !entry?null:entry.getValue();
}
;
_.getClass$ = function getClass_367(){
  return Ljava_util_AbstractMap_2_classLit;
}
;
_.hashCode$ = function hashCode_19(){
  var entry, entry$iterator, hashCode;
  hashCode = 0;
  for (entry$iterator = this.entrySet().iterator_0(); entry$iterator.hasNext();) {
    entry = dynamicCast(entry$iterator.next_0(), 66);
    hashCode += entry.hashCode$();
    hashCode = ~~hashCode;
  }
  return hashCode;
}
;
_.isEmpty = function isEmpty_0(){
  return this.size_0() == 0;
}
;
_.put = function put(key, value){
  throw new UnsupportedOperationException_0('Put not supported on this map');
}
;
_.remove_2 = function remove_16(key){
  var entry;
  entry = $implFindEntry(this, key, true);
  return !entry?null:entry.getValue();
}
;
_.size_0 = function size_0(){
  return this.entrySet().size_0();
}
;
_.toString$ = function toString_31(){
  var comma, entry, iter, s;
  s = '{';
  comma = false;
  for (iter = this.entrySet().iterator_0(); iter.hasNext();) {
    entry = dynamicCast(iter.next_0(), 66);
    comma?(s += ', '):(comma = true);
    s += '' + entry.getKey();
    s += '=';
    s += '' + entry.getValue();
  }
  return s + '}';
}
;
_.castableTypeMap$ = {79:1};
function $addAllHashEntries(this$static, dest){
  var hashCodeMap = this$static.hashCodeMap;
  for (var hashCode in hashCodeMap) {
    var hashCodeInt = parseInt(hashCode, 10);
    if (hashCode == hashCodeInt) {
      var array = hashCodeMap[hashCodeInt];
      for (var i = 0, c = array.length; i < c; ++i) {
        dest.add_1(array[i]);
      }
    }
  }
}

function $addAllStringEntries(this$static, dest){
  var stringMap = this$static.stringMap;
  for (var key in stringMap) {
    if (key.charCodeAt(0) == 58) {
      var entry = new AbstractHashMap$MapEntryString_0(this$static, key.substring(1));
      dest.add_1(entry);
    }
  }
}

function $clearImpl(this$static){
  this$static.hashCodeMap = [];
  this$static.stringMap = {};
  this$static.nullSlotLive = false;
  this$static.nullSlot = null;
  this$static.size = 0;
}

function $containsKey(this$static, key){
  return key == null?this$static.nullSlotLive:key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?$hasStringValue(this$static, dynamicCast(key, 1)):$hasHashValue(this$static, key, this$static.getHashCode(key));
}

function $get_0(this$static, key){
  return key == null?this$static.nullSlot:key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?this$static.stringMap[':' + dynamicCast(key, 1)]:$getHashValue(this$static, key, this$static.getHashCode(key));
}

function $getHashValue(this$static, key, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        return entry.getValue();
      }
    }
  }
  return null;
}

function $hasHashValue(this$static, key, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        return true;
      }
    }
  }
  return false;
}

function $hasStringValue(this$static, key){
  return ':' + key in this$static.stringMap;
}

function $put(this$static, key, value){
  return key == null?$putNullSlot(this$static, value):key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?$putStringValue(this$static, dynamicCast(key, 1), value):$putHashValue(this$static, key, value, this$static.getHashCode(key));
}

function $putHashValue(this$static, key, value, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        var previous = entry.getValue();
        entry.setValue(value);
        return previous;
      }
    }
  }
   else {
    array = this$static.hashCodeMap[hashCode] = [];
  }
  var entry = new MapEntryImpl_0(key, value);
  array.push(entry);
  ++this$static.size;
  return null;
}

function $putNullSlot(this$static, value){
  var result;
  result = this$static.nullSlot;
  this$static.nullSlot = value;
  if (!this$static.nullSlotLive) {
    this$static.nullSlotLive = true;
    ++this$static.size;
  }
  return result;
}

function $putStringValue(this$static, key, value){
  var result, stringMap = this$static.stringMap;
  key = ':' + key;
  key in stringMap?(result = stringMap[key]):++this$static.size;
  stringMap[key] = value;
  return result;
}

function $removeHashValue(this$static, key, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        array.length == 1?delete this$static.hashCodeMap[hashCode]:array.splice(i, 1);
        --this$static.size;
        return entry.getValue();
      }
    }
  }
  return null;
}

function $removeNullSlot(this$static){
  var result;
  result = this$static.nullSlot;
  this$static.nullSlot = null;
  if (this$static.nullSlotLive) {
    this$static.nullSlotLive = false;
    --this$static.size;
  }
  return result;
}

function $removeStringValue(this$static, key){
  var result, stringMap = this$static.stringMap;
  key = ':' + key;
  if (key in stringMap) {
    result = stringMap[key];
    --this$static.size;
    delete stringMap[key];
  }
  return result;
}

function AbstractHashMap(){
}

_ = AbstractHashMap.prototype = new AbstractMap;
_.clear = function clear(){
  $clearImpl(this);
}
;
_.containsKey = function containsKey_0(key){
  return key == null?this.nullSlotLive:key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?':' + dynamicCast(key, 1) in this.stringMap:$hasHashValue(this, key, this.getHashCode(key));
}
;
_.entrySet = function entrySet_0(){
  return new AbstractHashMap$EntrySet_0(this);
}
;
_.equalsBridge = function equalsBridge(value1, value2){
  return this.equals(value1, value2);
}
;
_.get = function get_2(key){
  return key == null?this.nullSlot:key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?this.stringMap[':' + dynamicCast(key, 1)]:$getHashValue(this, key, this.getHashCode(key));
}
;
_.getClass$ = function getClass_368(){
  return Ljava_util_AbstractHashMap_2_classLit;
}
;
_.put = function put_0(key, value){
  return key == null?$putNullSlot(this, value):key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?$putStringValue(this, dynamicCast(key, 1), value):$putHashValue(this, key, value, this.getHashCode(key));
}
;
_.remove_2 = function remove_17(key){
  return key == null?$removeNullSlot(this):key != null && key.castableTypeMap$ && !!key.castableTypeMap$[1]?$removeStringValue(this, dynamicCast(key, 1)):$removeHashValue(this, key, this.getHashCode(key));
}
;
_.size_0 = function size_1(){
  return this.size;
}
;
_.castableTypeMap$ = {79:1};
_.hashCodeMap = null;
_.nullSlot = null;
_.nullSlotLive = false;
_.size = 0;
_.stringMap = null;
function $equals_3(this$static, o){
  var iter, other, otherItem;
  if (o === this$static) {
    return true;
  }
  if (!(o != null && o.castableTypeMap$ && !!o.castableTypeMap$[86])) {
    return false;
  }
  other = dynamicCast(o, 86);
  if (other.size_0() != this$static.size_0()) {
    return false;
  }
  for (iter = other.iterator_0(); iter.hasNext();) {
    otherItem = iter.next_0();
    if (!this$static.contains(otherItem)) {
      return false;
    }
  }
  return true;
}

function AbstractSet(){
}

_ = AbstractSet.prototype = new AbstractCollection;
_.equals$ = function equals_18(o){
  return $equals_3(this, o);
}
;
_.getClass$ = function getClass_369(){
  return Ljava_util_AbstractSet_2_classLit;
}
;
--></script>
<script><!--
_.hashCode$ = function hashCode_20(){
  var hashCode, iter, next;
  hashCode = 0;
  for (iter = this.iterator_0(); iter.hasNext();) {
    next = iter.next_0();
    if (next != null) {
      hashCode += hashCode__devirtual$(next);
      hashCode = ~~hashCode;
    }
  }
  return hashCode;
}
;
_.castableTypeMap$ = {86:1};
function $contains(this$static, o){
  var entry, key, value;
  if (o != null && o.castableTypeMap$ && !!o.castableTypeMap$[66]) {
    entry = dynamicCast(o, 66);
    key = entry.getKey();
    if (this$static.this$0.containsKey(key)) {
      value = this$static.this$0.get(key);
      return this$static.this$0.equals(entry.getValue(), value);
    }
  }
  return false;
}

function AbstractHashMap$EntrySet_0(this$0){
  this.this$0 = this$0;
}

function AbstractHashMap$EntrySet(){
}

_ = AbstractHashMap$EntrySet_0.prototype = AbstractHashMap$EntrySet.prototype = new AbstractSet;
_.contains = function contains_0(o){
  return $contains(this, o);
}
;
_.getClass$ = function getClass_370(){
  return Ljava_util_AbstractHashMap$EntrySet_2_classLit;
}
;
_.iterator_0 = function iterator_5(){
  return new AbstractHashMap$EntrySetIterator_0(this.this$0);
}
;
_.remove_1 = function remove_18(entry){
  var key;
  if ($contains(this, entry)) {
    key = dynamicCast(entry, 66).getKey();
    this.this$0.remove_2(key);
    return true;
  }
  return false;
}
;
_.size_0 = function size_2(){
  return this.this$0.size_0();
}
;
_.castableTypeMap$ = {86:1};
_.this$0 = null;
function AbstractHashMap$EntrySetIterator_0(this$0){
  var list;
  this.this$0 = this$0;
  list = new ArrayList_0;
  this$0.nullSlotLive && $add_5(list, new AbstractHashMap$MapEntryNull_0(this$0));
  $addAllStringEntries(this$0, list);
  $addAllHashEntries(this$0, list);
  this.iter = new AbstractList$IteratorImpl_0(list);
}

function AbstractHashMap$EntrySetIterator(){
}

_ = AbstractHashMap$EntrySetIterator_0.prototype = AbstractHashMap$EntrySetIterator.prototype = new Object_0;
_.getClass$ = function getClass_371(){
  return Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit;
}
;
_.hasNext = function hasNext_3(){
  return $hasNext_0(this.iter);
}
;
_.next_0 = function next_4(){
  return this.last = dynamicCast($next_3(this.iter), 66);
}
;
_.remove_0 = function remove_19(){
  if (!this.last) {
    throw new IllegalStateException_1('Must call next() before remove().');
  }
   else {
    $remove_9(this.iter);
    this.this$0.remove_2(this.last.getKey());
    this.last = null;
  }
}
;
_.castableTypeMap$ = {};
_.iter = null;
_.last = null;
_.this$0 = null;
function AbstractMapEntry(){
}

_ = AbstractMapEntry.prototype = new Object_0;
_.equals$ = function equals_19(other){
  var entry;
  if (other != null && other.castableTypeMap$ && !!other.castableTypeMap$[66]) {
    entry = dynamicCast(other, 66);
    if (equalsWithNullCheck(this.getKey(), entry.getKey()) && equalsWithNullCheck(this.getValue(), entry.getValue())) {
      return true;
    }
  }
  return false;
}
;
_.getClass$ = function getClass_372(){
  return Ljava_util_AbstractMapEntry_2_classLit;
}
;
_.hashCode$ = function hashCode_21(){
  var keyHash, valueHash;
  keyHash = 0;
  valueHash = 0;
  this.getKey() != null && (keyHash = hashCode__devirtual$(this.getKey()));
  this.getValue() != null && (valueHash = hashCode__devirtual$(this.getValue()));
  return keyHash ^ valueHash;
}
;
_.toString$ = function toString_32(){
  return this.getKey() + '=' + this.getValue();
}
;
_.castableTypeMap$ = {66:1};
function AbstractHashMap$MapEntryNull_0(this$0){
  this.this$0 = this$0;
}

function AbstractHashMap$MapEntryNull(){
}

_ = AbstractHashMap$MapEntryNull_0.prototype = AbstractHashMap$MapEntryNull.prototype = new AbstractMapEntry;
_.getClass$ = function getClass_373(){
  return Ljava_util_AbstractHashMap$MapEntryNull_2_classLit;
}
;
_.getKey = function getKey(){
  return null;
}
;
_.getValue = function getValue(){
  return this.this$0.nullSlot;
}
;
_.setValue = function setValue(object){
  return $putNullSlot(this.this$0, object);
}
;
_.castableTypeMap$ = {66:1};
_.this$0 = null;
function AbstractHashMap$MapEntryString_0(this$0, key){
  this.this$0 = this$0;
  this.key = key;
}

function AbstractHashMap$MapEntryString(){
}

_ = AbstractHashMap$MapEntryString_0.prototype = AbstractHashMap$MapEntryString.prototype = new AbstractMapEntry;
_.getClass$ = function getClass_374(){
  return Ljava_util_AbstractHashMap$MapEntryString_2_classLit;
}
;
_.getKey = function getKey_0(){
  return this.key;
}
;
_.getValue = function getValue_0(){
  return this.this$0.stringMap[':' + this.key];
}
;
_.setValue = function setValue_0(object){
  return $putStringValue(this.this$0, this.key, object);
}
;
_.castableTypeMap$ = {66:1};
_.key = null;
_.this$0 = null;
function $indexOf_0(this$static, toFind){
  var i, n;
  for (i = 0 , n = this$static.array.length; i < n; ++i) {
    if (toFind == null?(checkIndex(i, this$static.array.length) , this$static.array[i]) == null:equals__devirtual$(toFind, (checkIndex(i, this$static.array.length) , this$static.array[i]))) {
      return i;
    }
  }
  return -1;
}

function checkIndex(index, size){
  (index < 0 || index >= size) && indexOutOfBounds(index, size);
}

function indexOutOfBounds(index, size){
  throw new IndexOutOfBoundsException_1('Index: ' + index + ', Size: ' + size);
}

function AbstractList(){
}

_ = AbstractList.prototype = new AbstractCollection;
_.add_1 = function add_5(obj){
  this.add_2(this.size_0(), obj);
  return true;
}
;
_.add_2 = function add_6(index, element){
  throw new UnsupportedOperationException_0('Add not supported on this list');
}
;
_.equals$ = function equals_20(o){
  var elem, elemOther, iter, iterOther, other;
  if (o === this) {
    return true;
  }
  if (!(o != null && o.castableTypeMap$ && !!o.castableTypeMap$[80])) {
    return false;
  }
  other = dynamicCast(o, 80);
  if (this.size_0() != other.size_0()) {
    return false;
  }
  iter = new AbstractList$IteratorImpl_0(this);
  iterOther = other.iterator_0();
  while (iter.i < iter.this$0_0.size_0()) {
    elem = $next_3(iter);
    elemOther = $next_3(iterOther);
    if (!(elem == null?elemOther == null:equals__devirtual$(elem, elemOther))) {
      return false;
    }
  }
  return true;
}
;
_.getClass$ = function getClass_375(){
  return Ljava_util_AbstractList_2_classLit;
}
;
_.hashCode$ = function hashCode_22(){
  var iter, k, obj;
  k = 1;
  iter = new AbstractList$IteratorImpl_0(this);
  while (iter.i < iter.this$0_0.size_0()) {
    obj = $next_3(iter);
    k = 31 * k + (obj == null?0:hashCode__devirtual$(obj));
    k = ~~k;
  }
  return k;
}
;
_.iterator_0 = function iterator_6(){
  return new AbstractList$IteratorImpl_0(this);
}
;
_.listIterator = function listIterator(){
  return new AbstractList$ListIteratorImpl_0(this, 0);
}
;
_.listIterator_0 = function listIterator_0(from){
  return new AbstractList$ListIteratorImpl_0(this, from);
}
;
_.remove_3 = function remove_20(index){
  throw new UnsupportedOperationException_0('Remove not supported on this list');
}
;
_.castableTypeMap$ = {80:1};
function $hasNext_0(this$static){
  return this$static.i < this$static.this$0_0.size_0();
}

function $next_3(this$static){
  if (this$static.i >= this$static.this$0_0.size_0()) {
    throw new NoSuchElementException_0;
  }
  return this$static.this$0_0.get_0(this$static.last = this$static.i++);
}

function $remove_9(this$static){
  if (this$static.last < 0) {
    throw new IllegalStateException_0;
  }
  this$static.this$0_0.remove_3(this$static.last);
  this$static.i = this$static.last;
  this$static.last = -1;
}

function AbstractList$IteratorImpl_0(this$0){
  this.this$0_0 = this$0;
}

function AbstractList$IteratorImpl(){
}

_ = AbstractList$IteratorImpl_0.prototype = AbstractList$IteratorImpl.prototype = new Object_0;
_.getClass$ = function getClass_376(){
  return Ljava_util_AbstractList$IteratorImpl_2_classLit;
}
;
_.hasNext = function hasNext_4(){
  return this.i < this.this$0_0.size_0();
}
;
_.next_0 = function next_5(){
  return $next_3(this);
}
;
_.remove_0 = function remove_21(){
  $remove_9(this);
}
;
_.castableTypeMap$ = {};
_.i = 0;
_.last = -1;
_.this$0_0 = null;
function $previous(this$static){
  if (this$static.i <= 0) {
    throw new NoSuchElementException_0;
  }
  return this$static.this$0.get_0(this$static.last = --this$static.i);
}

function AbstractList$ListIteratorImpl_0(this$0, start){
  var size;
  this.this$0 = this$0;
  this.this$0_0 = this$0;
  size = this$0.size_0();
  (start < 0 || start > size) && indexOutOfBounds(start, size);
  this.i = start;
}

function AbstractList$ListIteratorImpl(){
}

_ = AbstractList$ListIteratorImpl_0.prototype = AbstractList$ListIteratorImpl.prototype = new AbstractList$IteratorImpl;
_.getClass$ = function getClass_377(){
  return Ljava_util_AbstractList$ListIteratorImpl_2_classLit;
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
function AbstractMap$1_0(this$0, val$entrySet){
  this.this$0 = this$0;
  this.val$entrySet = val$entrySet;
}

function AbstractMap$1(){
}

_ = AbstractMap$1_0.prototype = AbstractMap$1.prototype = new AbstractSet;
_.contains = function contains_1(key){
  return this.this$0.containsKey(key);
}
;
_.getClass$ = function getClass_378(){
  return Ljava_util_AbstractMap$1_2_classLit;
}
;
_.iterator_0 = function iterator_7(){
  var outerIter;
  return outerIter = this.val$entrySet.iterator_0() , new AbstractMap$1$1_0(outerIter);
}
;
_.size_0 = function size_3(){
  return this.val$entrySet.size_0();
}
;
_.castableTypeMap$ = {86:1};
_.this$0 = null;
_.val$entrySet = null;
function AbstractMap$1$1_0(val$outerIter){
  this.val$outerIter = val$outerIter;
}

function AbstractMap$1$1(){
}

_ = AbstractMap$1$1_0.prototype = AbstractMap$1$1.prototype = new Object_0;
_.getClass$ = function getClass_379(){
  return Ljava_util_AbstractMap$1$1_2_classLit;
}
;
_.hasNext = function hasNext_5(){
  return this.val$outerIter.hasNext();
}
;
_.next_0 = function next_6(){
  var entry;
  return entry = dynamicCast(this.val$outerIter.next_0(), 66) , entry.getKey();
}
;
_.remove_0 = function remove_22(){
  this.val$outerIter.remove_0();
}
;
_.castableTypeMap$ = {};
_.val$outerIter = null;
function AbstractMap$2_0(this$0, val$entrySet){
  this.this$0 = this$0;
  this.val$entrySet = val$entrySet;
}

function AbstractMap$2(){
}

_ = AbstractMap$2_0.prototype = AbstractMap$2.prototype = new AbstractCollection;
_.contains = function contains_2(value){
  return $containsValue(this.this$0, value);
}
;
_.getClass$ = function getClass_380(){
  return Ljava_util_AbstractMap$2_2_classLit;
}
;
_.iterator_0 = function iterator_8(){
  var outerIter;
  return outerIter = new LinkedHashMap$EntrySet$EntryIterator_0(this.val$entrySet) , new AbstractMap$2$1_0(outerIter);
}
;
_.size_0 = function size_4(){
  return this.val$entrySet.this$0.map.size_0();
}
;
_.castableTypeMap$ = {};
_.this$0 = null;
_.val$entrySet = null;
function AbstractMap$2$1_0(val$outerIter){
  this.val$outerIter = val$outerIter;
}

function AbstractMap$2$1(){
}

_ = AbstractMap$2$1_0.prototype = AbstractMap$2$1.prototype = new Object_0;
_.getClass$ = function getClass_381(){
  return Ljava_util_AbstractMap$2$1_2_classLit;
}
;
_.hasNext = function hasNext_6(){
  return $hasNext_1(this.val$outerIter);
}
;
_.next_0 = function next_7(){
  return $next_4(this.val$outerIter).value_0;
}
;
_.remove_0 = function remove_23(){
  $remove_13(this.val$outerIter);
}
;
_.castableTypeMap$ = {};
_.val$outerIter = null;
function $add_5(this$static, o){
  setCheck(this$static.array, this$static.size++, o);
  return true;
}

function $add_6(this$static, index, o){
  (index < 0 || index > this$static.size) && indexOutOfBounds(index, this$static.size);
  this$static.array.splice(index, 0, o);
  ++this$static.size;
}

function $clear_0(this$static){
  this$static.array = initDim(_3Ljava_lang_Object_2_classLit, {31:1}, 0, 0, 0);
  this$static.size = 0;
}

function $get_1(this$static, index){
  checkIndex(index, this$static.size);
  return this$static.array[index];
}

function $indexOf_1(this$static, o, index){
  for (; index < this$static.size; ++index) {
    if (equalsWithNullCheck(o, this$static.array[index])) {
      return index;
    }
  }
  return -1;
}

function $remove_10(this$static, index){
  var previous;
  previous = (checkIndex(index, this$static.size) , this$static.array[index]);
  this$static.array.splice(index, 1);
  --this$static.size;
  return previous;
}

function $remove_11(this$static, o){
  var i;
  i = $indexOf_1(this$static, o, 0);
  if (i == -1) {
    return false;
  }
  $remove_10(this$static, i);
  return true;
}

function $set(this$static, index, o){
  var previous;
  previous = (checkIndex(index, this$static.size) , this$static.array[index]);
  setCheck(this$static.array, index, o);
  return previous;
}

function $toArray(this$static, out){
  var i, a_0, result;
  out.length < this$static.size && (out = (a_0 = out , result = createFromSeed(0, this$static.size) , initValues(a_0.arrayClass$, a_0.castableTypeMap$, a_0.queryId$, result) , result));
  for (i = 0; i < this$static.size; ++i) {
    setCheck(out, i, this$static.array[i]);
  }
  out.length > this$static.size && setCheck(out, this$static.size, null);
  return out;
}

function ArrayList_0(){
  this.array = initDim(_3Ljava_lang_Object_2_classLit, {31:1}, 0, 0, 0);
}

function ArrayList_1(c){
  this.array = initDim(_3Ljava_lang_Object_2_classLit, {31:1}, 0, 0, 0);
  Array.prototype.splice.apply(this.array, [0, 0].concat(c.toArray()));
  this.size = this.array.length;
}

function ArrayList(){
}

_ = ArrayList_1.prototype = ArrayList_0.prototype = ArrayList.prototype = new AbstractList;
_.add_1 = function add_7(o){
  return setCheck(this.array, this.size++, o) , true;
}
;
_.add_2 = function add_8(index, o){
  $add_6(this, index, o);
}
;
_.contains = function contains_3(o){
  return $indexOf_1(this, o, 0) != -1;
}
;
_.get_0 = function get_3(index){
  return checkIndex(index, this.size) , this.array[index];
}
;
_.getClass$ = function getClass_382(){
  return Ljava_util_ArrayList_2_classLit;
}
;
_.isEmpty = function isEmpty_1(){
  return this.size == 0;
}
;
_.remove_3 = function remove_24(index){
  return $remove_10(this, index);
}
;
_.remove_1 = function remove_25(o){
  return $remove_11(this, o);
}
;
_.size_0 = function size_5(){
  return this.size;
}
;
_.toArray = function toArray_1(){
  var a_0, result;
  return a_0 = this.array , result = a_0.slice(0, this.size) , initValues(a_0.arrayClass$, a_0.castableTypeMap$, a_0.queryId$, result) , result;
}
;
_.toArray_0 = function toArray_2(out){
  return $toArray(this, out);
}
;
_.castableTypeMap$ = {10:1, 31:1, 80:1};
_.size = 0;
function Arrays$ArrayList_0(array){
  this.array = array;
}

function Arrays$ArrayList(){
}

_ = Arrays$ArrayList_0.prototype = Arrays$ArrayList.prototype = new AbstractList;
_.contains = function contains_4(o){
  return $indexOf_0(this, o) != -1;
}
;
_.get_0 = function get_4(index){
  return checkIndex(index, this.array.length) , this.array[index];
}
;
_.getClass$ = function getClass_383(){
  return Ljava_util_Arrays$ArrayList_2_classLit;
}
;
_.size_0 = function size_6(){
  return this.array.length;
}
;
_.toArray = function toArray_3(){
  return clone_0(this.array);
}
;
_.toArray_0 = function toArray_4(out){
  var i, size;
  size = this.array.length;
  out.length < size && (out = createFrom(out, size));
  for (i = 0; i < size; ++i) {
    setCheck(out, i, this.array[i]);
  }
  out.length > size && setCheck(out, size, null);
  return out;
}
;
_.castableTypeMap$ = {31:1, 80:1};
_.array = null;
function $clinit_85(){
  $clinit_85 = nullMethod;
  EMPTY_LIST = new Collections$EmptyList_0;
}

var EMPTY_LIST;
function Collections$EmptyList_0(){
}

function Collections$EmptyList(){
}

_ = Collections$EmptyList_0.prototype = Collections$EmptyList.prototype = new AbstractList;
_.contains = function contains_5(object){
  return false;
}
;
_.get_0 = function get_5(location_0){
  throw new IndexOutOfBoundsException_0;
}
;
_.getClass$ = function getClass_384(){
  return Ljava_util_Collections$EmptyList_2_classLit;
}
;
_.size_0 = function size_7(){
  return 0;
}
;
_.castableTypeMap$ = {31:1, 80:1};
function $clinit_86(){
  $clinit_86 = nullMethod;
  DAYS = initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']);
  MONTHS = initValues(_3Ljava_lang_String_2_classLit, {31:1}, 1, ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
}

var DAYS, MONTHS;
function HashMap_0(){
  $clearImpl(this);
}

function HashMap(){
}

_ = HashMap_0.prototype = HashMap.prototype = new AbstractHashMap;
_.equals = function equals_21(value1, value2){
  return (value1 == null?null:value1) === (value2 == null?null:value2) || value1 != null && equals__devirtual$(value1, value2);
}
;
_.getClass$ = function getClass_385(){
  return Ljava_util_HashMap_2_classLit;
}
;
_.getHashCode = function getHashCode_1(key){
  return ~~hashCode__devirtual$(key);
}
;
_.castableTypeMap$ = {31:1, 79:1};
function $add_7(this$static, o){
  var old;
  old = this$static.map.put(o, this$static);
  return old == null;
}

function HashSet_0(){
  this.map = new HashMap_0;
}

function HashSet(){
}

_ = HashSet_0.prototype = HashSet.prototype = new AbstractSet;
_.add_1 = function add_9(o){
  var old;
  return old = this.map.put(o, this) , old == null;
}
;
_.contains = function contains_6(o){
  return this.map.containsKey(o);
}
;
_.getClass$ = function getClass_386(){
  return Ljava_util_HashSet_2_classLit;
}
;
_.isEmpty = function isEmpty_2(){
  return this.map.size_0() == 0;
}
;
_.iterator_0 = function iterator_9(){
  var outerIter;
  return outerIter = $keySet(this.map).val$entrySet.iterator_0() , new AbstractMap$1$1_0(outerIter);
}
;
_.remove_1 = function remove_26(o){
  return this.map.remove_2(o) != null;
}
;
_.size_0 = function size_8(){
  return this.map.size_0();
}
;
_.toString$ = function toString_33(){
  return $toString_2($keySet(this.map));
}
;
_.castableTypeMap$ = {31:1, 86:1};
_.map = null;
function IdentityHashMap_0(){
  $clearImpl(this);
}

function IdentityHashMap(){
}

_ = IdentityHashMap_0.prototype = IdentityHashMap.prototype = new AbstractHashMap;
_.equals$ = function equals_22(obj){
  var entry, entry$iterator, otherKey, otherMap, otherValue;
  if (obj === this) {
    return true;
  }
  if (!(obj != null && obj.castableTypeMap$ && !!obj.castableTypeMap$[79])) {
    return false;
  }
  otherMap = dynamicCast(obj, 79);
  if (this.size != otherMap.size_0()) {
    return false;
  }
  for (entry$iterator = otherMap.entrySet().iterator_0(); entry$iterator.hasNext();) {
    entry = dynamicCast(entry$iterator.next_0(), 66);
    otherKey = entry.getKey();
    otherValue = entry.getValue();
    if (!(otherKey == null?this.nullSlotLive:otherKey != null && otherKey.castableTypeMap$ && !!otherKey.castableTypeMap$[1]?':' + dynamicCast(otherKey, 1) in this.stringMap:$hasHashValue(this, otherKey, otherKey.$H || (otherKey.$H = ++sNextHashId)))) {
      return false;
    }
    if ((otherValue == null?null:otherValue) !== maskUndefined(otherKey == null?this.nullSlot:otherKey != null && otherKey.castableTypeMap$ && !!otherKey.castableTypeMap$[1]?this.stringMap[':' + dynamicCast(otherKey, 1)]:$getHashValue(this, otherKey, otherKey.$H || (otherKey.$H = ++sNextHashId)))) {
      return false;
    }
  }
  return true;
}
;
_.equals = function equals_23(value1, value2){
  return (value1 == null?null:value1) === (value2 == null?null:value2);
}
;
_.getClass$ = function getClass_387(){
  return Ljava_util_IdentityHashMap_2_classLit;
}
;
_.getHashCode = function getHashCode_2(key){
  return key.$H || (key.$H = ++sNextHashId);
}
;
_.hashCode$ = function hashCode_23(){
  var entry, entry$iterator, hashCode;
  hashCode = 0;
  for (entry$iterator = new AbstractHashMap$EntrySetIterator_0((new AbstractHashMap$EntrySet_0(this)).this$0); $hasNext_0(entry$iterator.iter);) {
    entry = entry$iterator.last = dynamicCast($next_3(entry$iterator.iter), 66);
    hashCode += identityHashCode(entry.getKey());
    hashCode += identityHashCode(entry.getValue());
  }
  return hashCode;
}
;
_.castableTypeMap$ = {31:1, 79:1};
function $$init(this$static){
  this$static.head = new LinkedHashMap$ChainEntry_0(this$static);
  this$static.map = new HashMap_0;
  this$static.head.prev = this$static.head;
  this$static.head.next = this$static.head;
}

function $clear_1(this$static){
  this$static.map.clear();
  this$static.head.prev = this$static.head;
  this$static.head.next = this$static.head;
}

function $containsValue(this$static, value){
  var node;
  node = this$static.head.next;
  while (node != this$static.head) {
    if (equalsWithNullCheck(node.value_0, value)) {
      return true;
    }
    node = node.next;
  }
  return false;
}

function $get_2(this$static, key){
  var entry;
  entry = dynamicCast(this$static.map.get(key), 87);
  if (entry) {
    $recordAccess(this$static, entry);
    return entry.value_0;
  }
  return null;
}

function $put_0(this$static, key, value){
  var newEntry, old, oldValue;
  old = dynamicCast(this$static.map.get(key), 87);
  if (!old) {
    newEntry = new LinkedHashMap$ChainEntry_1(this$static, key, value);
    this$static.map.put(key, newEntry);
    $addToEnd(newEntry);
    return null;
  }
   else {
    oldValue = old.value_0;
    $setValue_0(old, value);
    $recordAccess(this$static, old);
    return oldValue;
  }
}

function $recordAccess(this$static, entry){
  if (this$static.accessOrder) {
    $remove_12(entry);
    $addToEnd(entry);
  }
}

function LinkedHashMap_0(){
  $clearImpl(this);
  $$init(this);
}

function LinkedHashMap_1(){
  $clearImpl(this);
  $$init(this);
}

function LinkedHashMap(){
}

_ = LinkedHashMap_1.prototype = LinkedHashMap_0.prototype = LinkedHashMap.prototype = new HashMap;
_.clear = function clear_0(){
  $clear_1(this);
}
;
_.containsKey = function containsKey_1(key){
  return this.map.containsKey(key);
}
;
_.entrySet = function entrySet_1(){
  return new LinkedHashMap$EntrySet_0(this);
}
;
_.get = function get_6(key){
  return $get_2(this, key);
}
;
_.getClass$ = function getClass_388(){
  return Ljava_util_LinkedHashMap_2_classLit;
}
;
_.put = function put_1(key, value){
  return $put_0(this, key, value);
}
;
_.remove_2 = function remove_27(key){
  var entry;
  entry = dynamicCast(this.map.remove_2(key), 87);
  if (entry) {
    $remove_12(entry);
    return entry.value_0;
  }
  return null;
}
;
_.size_0 = function size_9(){
  return this.map.size_0();
}
;
_.castableTypeMap$ = {31:1, 79:1};
_.accessOrder = false;
function $setValue_0(this$static, value){
  var old;
  old = this$static.value_0;
  this$static.value_0 = value;
  return old;
}

function MapEntryImpl_0(key, value){
  this.key = key;
  this.value_0 = value;
}

function MapEntryImpl(){
}

_ = MapEntryImpl_0.prototype = MapEntryImpl.prototype = new AbstractMapEntry;
_.getClass$ = function getClass_389(){
  return Ljava_util_MapEntryImpl_2_classLit;
}
;
_.getKey = function getKey_1(){
  return this.key;
}
;
_.getValue = function getValue_1(){
  return this.value_0;
}
;
_.setValue = function setValue_1(value){
  var old;
  return old = this.value_0 , this.value_0 = value , old;
}
;
_.castableTypeMap$ = {66:1};
_.key = null;
_.value_0 = null;
function $addToEnd(this$static){
  var tail;
  tail = this$static.this$0.head.prev;
  this$static.prev = tail;
  this$static.next = this$static.this$0.head;
  tail.next = this$static.this$0.head.prev = this$static;
}

function $remove_12(this$static){
  this$static.next.prev = this$static.prev;
  this$static.prev.next = this$static.next;
  this$static.next = this$static.prev = null;
}

function LinkedHashMap$ChainEntry_0(this$0){
  this.this$0 = this$0;
  this.key = null;
  this.value_0 = null;
  this.next = this.prev = null;
}

function LinkedHashMap$ChainEntry_1(this$0, key, value){
  this.this$0 = this$0;
  this.key = key;
  this.value_0 = value;
  this.next = this.prev = null;
}

function LinkedHashMap$ChainEntry(){
}

_ = LinkedHashMap$ChainEntry_1.prototype = LinkedHashMap$ChainEntry_0.prototype = LinkedHashMap$ChainEntry.prototype = new MapEntryImpl;
_.getClass$ = function getClass_390(){
  return Ljava_util_LinkedHashMap$ChainEntry_2_classLit;
}
;
_.castableTypeMap$ = {66:1, 87:1};
_.next = null;
_.prev = null;
_.this$0 = null;
function LinkedHashMap$EntrySet_0(this$0){
  this.this$0 = this$0;
}

function LinkedHashMap$EntrySet(){
}

_ = LinkedHashMap$EntrySet_0.prototype = LinkedHashMap$EntrySet.prototype = new AbstractSet;
_.contains = function contains_7(o){
  var entry, key, value;
  if (!(o != null && o.castableTypeMap$ && !!o.castableTypeMap$[66])) {
    return false;
  }
  entry = dynamicCast(o, 66);
  key = entry.getKey();
  if (this.this$0.map.containsKey(key)) {
    value = $get_2(this.this$0, key);
    return equalsWithNullCheck(entry.getValue(), value);
  }
  return false;
}
;
_.getClass$ = function getClass_391(){
  return Ljava_util_LinkedHashMap$EntrySet_2_classLit;
}
;
_.iterator_0 = function iterator_10(){
  return new LinkedHashMap$EntrySet$EntryIterator_0(this);
}
;
_.size_0 = function size_10(){
  return this.this$0.map.size_0();
}
;
_.castableTypeMap$ = {86:1};
_.this$0 = null;
function $hasNext_1(this$static){
  return this$static.next != this$static.this$1.this$0.head;
}

function $next_4(this$static){
  if (this$static.next == this$static.this$1.this$0.head) {
    throw new NoSuchElementException_0;
  }
  this$static.last = this$static.next;
  this$static.next = this$static.next.next;
  return this$static.last;
}

function $remove_13(this$static){
  if (!this$static.last) {
    throw new IllegalStateException_1('No current entry');
  }
  $remove_12(this$static.last);
  this$static.this$1.this$0.map.remove_2(this$static.last.key);
  this$static.last = null;
}

function LinkedHashMap$EntrySet$EntryIterator_0(this$1){
  this.this$1 = this$1;
  this.next = this$1.this$0.head.next;
}

function LinkedHashMap$EntrySet$EntryIterator(){
}

_ = LinkedHashMap$EntrySet$EntryIterator_0.prototype = LinkedHashMap$EntrySet$EntryIterator.prototype = new Object_0;
_.getClass$ = function getClass_392(){
  return Ljava_util_LinkedHashMap$EntrySet$EntryIterator_2_classLit;
}
;
_.hasNext = function hasNext_7(){
  return this.next != this.this$1.this$0.head;
}
;
_.next_0 = function next_8(){
  return $next_4(this);
}
;
_.remove_0 = function remove_28(){
  $remove_13(this);
}
;
_.castableTypeMap$ = {};
_.last = null;
_.next = null;
_.this$1 = null;
function LinkedHashSet_0(){
  this.map = new LinkedHashMap_1;
}

function LinkedHashSet(){
}

_ = LinkedHashSet_0.prototype = LinkedHashSet.prototype = new HashSet;
_.getClass$ = function getClass_393(){
  return Ljava_util_LinkedHashSet_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 45:1, 86:1};
function NoSuchElementException_0(){
  $fillInStackTrace();
}

function NoSuchElementException(){
}

_ = NoSuchElementException_0.prototype = NoSuchElementException.prototype = new RuntimeException;
_.getClass$ = function getClass_394(){
  return Ljava_util_NoSuchElementException_2_classLit;
}
;
_.castableTypeMap$ = {31:1, 42:1, 47:1};
function equalsWithNullCheck(a_0, b){
  return (a_0 == null?null:a_0) === (b == null?null:b) || a_0 != null && equals__devirtual$(a_0, b);
}

var $entry = entry_0;
function gwtOnLoad(errFn, modName, modBase, softPermutationId){
  $moduleName = modName;
  $moduleBase = modBase;
  if (errFn)
    try {
      $entry(init)();
    }
     catch (e) {
      errFn(modName);
    }
   else {
    $entry(init)();
  }
}

--></script>
<script><!--
var Ljava_lang_Object_2_classLit = createForClass('java.lang.', 'Object'), Lcom_google_gwt_user_client_rpc_impl_RemoteServiceProxy_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'RemoteServiceProxy'), Lcom_dnb_webmash_playmaker_client_LoginService_1Proxy_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'LoginService_Proxy'), Lcom_google_gwt_user_client_rpc_impl_SerializerBase_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'SerializerBase'), Lcom_dnb_webmash_playmaker_client_LoginService_1TypeSerializer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'LoginService_TypeSerializer'), Lcom_dnb_webmash_playmaker_shared_LoginInfo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.', 'LoginInfo'), Ljava_lang_Throwable_2_classLit = createForClass('java.lang.', 'Throwable'), Ljava_lang_Exception_2_classLit = createForClass('java.lang.', 'Exception'), Ljava_lang_RuntimeException_2_classLit = createForClass('java.lang.', 'RuntimeException'), Lcom_google_gwt_user_client_rpc_IncompatibleRemoteServiceException_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'IncompatibleRemoteServiceException'), Lcom_google_gwt_user_client_rpc_RpcTokenException_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'RpcTokenException'), Lcom_google_gwt_user_client_rpc_XsrfToken_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'XsrfToken'), Ljava_lang_String_2_classLit = createForClass('java.lang.', 'String'), Lcom_dnb_webmash_playmaker_client_PlayMaker_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'PlayMaker'), Lcom_dnb_webmash_playmaker_client_PlayMaker$1_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'PlayMaker$1'), Lcom_dnb_webmash_playmaker_client_PlayMaker$2_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'PlayMaker$2'), Lcom_google_gwt_user_client_ui_UIObject_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'UIObject'), Lcom_google_gwt_user_client_ui_TreeItem_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TreeItem'), Lcom_dnb_webmash_playmaker_client_UniqueTreeItem_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'UniqueTreeItem'), Lcom_dnb_webmash_playmaker_client_WebPlaylistService_1Proxy_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'WebPlaylistService_Proxy'), Lcom_dnb_webmash_playmaker_client_WebPlaylistService_1TypeSerializer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.', 'WebPlaylistService_TypeSerializer'), Lcom_dnb_webmash_playmaker_shared_MediaType_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.', 'MediaType'), Lcom_dnb_webmash_playmaker_shared_MyURL_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.', 'MyURL'), Lcom_dnb_webmash_playmaker_shared_Option_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.', 'Option'), Lcom_dnb_webmash_playmaker_shared_PlayerConfig_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.', 'PlayerConfig'), Ljava_lang_Enum_2_classLit = createForClass('java.lang.', 'Enum'), Lcom_dnb_webmash_playmaker_shared_PlayerType_2_classLit = createForEnum('com.dnb.webmash.playmaker.shared.', 'PlayerType', Ljava_lang_Enum_2_classLit, values_0), Lcom_dnb_webmash_playmaker_shared_PlaylistItem_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.', 'PlaylistItem'), Lcom_dnb_webmash_playmaker_shared_generics_Embeds_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.generics.', 'Embeds'), Lcom_dnb_webmash_playmaker_shared_generics_Iframes_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.generics.', 'Iframes'), Lcom_dnb_webmash_playmaker_shared_generics_ImageLinks_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.generics.', 'ImageLinks'), Lcom_dnb_webmash_playmaker_shared_generics_MimeObjects_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.generics.', 'MimeObjects'), Lcom_dnb_webmash_playmaker_shared_generics_Objects_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.generics.', 'Objects'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Archive_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Archive'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Bitsontherun_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Bitsontherun'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Bliptv_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Bliptv'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Dailymotion_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Dailymotion'), Lcom_dnb_webmash_playmaker_shared_mediatypes_EightTracks_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'EightTracks'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Flickr_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Flickr'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Googlevideo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Googlevideo'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Guba_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Guba'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Hulu_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Hulu'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Livevideo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Livevideo'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Megavideo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Megavideo'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Metacafe_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Metacafe'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Myspace_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Myspace'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Odeo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Odeo'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Podcastalley_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Podcastalley'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Podomatic_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Podomatic'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Revver_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Revver'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Sapo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Sapo'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Sevenload_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Sevenload'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Smugmug_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Smugmug'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Soundcloud_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Soundcloud'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Spike_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Spike'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Tagtele_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Tagtele'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Teachertube_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Teachertube'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Ted_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Ted'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Tudou_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Tudou'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Twistage_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Twistage'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Ustream_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Ustream'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Viddler_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Viddler'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Videojug_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Videojug'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Vimeo_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Vimeo'), Lcom_dnb_webmash_playmaker_shared_mediatypes_YouTube_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'YouTube'), Lcom_dnb_webmash_playmaker_shared_mediatypes_Youku_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.mediatypes.', 'Youku'), Lcom_dnb_webmash_playmaker_shared_playerconfigs_FlashSettings_2_classLit = createForClass('com.dnb.webmash.playmaker.shared.playerconfigs.', 'FlashSettings'), Lcom_google_appengine_api_datastore_Text_2_classLit = createForClass('com.google.appengine.api.datastore.', 'Text'), Ljava_util_Date_2_classLit = createForClass('java.util.', 'Date'), Lcom_google_gwt_i18n_client_impl_DateRecord_2_classLit = createForClass('com.google.gwt.i18n.client.impl.', 'DateRecord'), Ljava_lang_Boolean_2_classLit = createForClass('java.lang.', 'Boolean'), Ljava_lang_IllegalArgumentException_2_classLit = createForClass('java.lang.', 'IllegalArgumentException'), Ljava_lang_Number_2_classLit = createForClass('java.lang.', 'Number'), Ljava_lang_Integer_2_classLit = createForClass('java.lang.', 'Integer'), Ljava_lang_NumberFormatException_2_classLit = createForClass('java.lang.', 'NumberFormatException'), Ljava_sql_Date_2_classLit = createForClass('java.sql.', 'Date'), Ljava_sql_Time_2_classLit = createForClass('java.sql.', 'Time'), Ljava_sql_Timestamp_2_classLit = createForClass('java.sql.', 'Timestamp'), Ljava_util_AbstractCollection_2_classLit = createForClass('java.util.', 'AbstractCollection'), Ljava_util_AbstractList_2_classLit = createForClass('java.util.', 'AbstractList'), Ljava_util_ArrayList_2_classLit = createForClass('java.util.', 'ArrayList'), Ljava_util_AbstractSet_2_classLit = createForClass('java.util.', 'AbstractSet'), Ljava_util_HashSet_2_classLit = createForClass('java.util.', 'HashSet'), Ljava_util_LinkedHashSet_2_classLit = createForClass('java.util.', 'LinkedHashSet'), Lcom_google_gwt_user_client_ui_Widget_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Widget'), Lcom_dnb_webmash_playmaker_client_mediaplayer_MediaPlayer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.mediaplayer.', 'MediaPlayer'), Lcom_google_gwt_user_client_ui_Composite_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Composite'), Lcom_dnb_webmash_playmaker_client_mediaplayer_MediaPlayersManager_2_classLit = createForClass('com.dnb.webmash.playmaker.client.mediaplayer.', 'MediaPlayersManager'), Lcom_dnb_webmash_playmaker_client_playertypes_EmbedPlayer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.playertypes.', 'EmbedPlayer'), Lcom_dnb_webmash_playmaker_client_playertypes_FilePlayer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.playertypes.', 'FilePlayer'), Lcom_dnb_webmash_playmaker_client_playertypes_FlashPlayer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.playertypes.', 'FlashPlayer'), Lcom_dnb_webmash_playmaker_client_playertypes_IFramePlayer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.playertypes.', 'IFramePlayer'), Lcom_dnb_webmash_playmaker_client_playertypes_ScriptPlayer_2_classLit = createForClass('com.dnb.webmash.playmaker.client.playertypes.', 'ScriptPlayer'), Lcom_dnb_webmash_playmaker_client_ui_AddMediaTab_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'AddMediaTab'), Lcom_dnb_webmash_playmaker_client_ui_AddMediaTab$1_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'AddMediaTab$1'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$1_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$1'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$2_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$2'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$3_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$3'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$4_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$4'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$5_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$5'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$5$1_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$5$1'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$6_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$6'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$7_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$7'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$8_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$8'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$9_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$9'), Lcom_google_gwt_user_client_ui_Panel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Panel'), Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'SimplePanel'), Lcom_google_gwt_user_client_ui_PopupPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'PopupPanel'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$MyPopup'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup$1_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$MyPopup$1'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup$2_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$MyPopup$2'), Lcom_dnb_webmash_playmaker_client_ui_MediaTypesTab$MyPopup$3_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'MediaTypesTab$MyPopup$3'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$1'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$10_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$10'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$11_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$11'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$12_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$12'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$13_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$13'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$14_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$14'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$15_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$15'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$16_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$16'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1GetChanButtonHandler_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$1GetChanButtonHandler'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1NextButtonHandler_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$1NextButtonHandler'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$1PrevButtonHandler_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$1PrevButtonHandler'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$2_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$2'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$3_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$3'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$4_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$4'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$5_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$5'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$6_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$6'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$7_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$7'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$8_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$8'), Lcom_dnb_webmash_playmaker_client_ui_WatchTab$9_2_classLit = createForClass('com.dnb.webmash.playmaker.client.ui.', 'WatchTab$9'), _3Ljava_lang_String_2_classLit = createForArray('[Ljava.lang.', 'String;'), _3Lcom_dnb_webmash_playmaker_shared_PlayerType_2_classLit = createForArray('[Lcom.dnb.webmash.playmaker.shared.', 'PlayerType;'), _3Lcom_dnb_webmash_playmaker_shared_Option_2_classLit = createForArray('[Lcom.dnb.webmash.playmaker.shared.', 'Option;'), Lcom_google_gwt_animation_client_Animation_2_classLit = createForClass('com.google.gwt.animation.client.', 'Animation'), _3Lcom_google_gwt_animation_client_Animation_2_classLit = createForArray('[Lcom.google.gwt.animation.client.', 'Animation;'), Lcom_google_gwt_user_client_Timer_2_classLit = createForClass('com.google.gwt.user.client.', 'Timer'), Lcom_google_gwt_animation_client_Animation$1_2_classLit = createForClass('com.google.gwt.animation.client.', 'Animation$1'), Lcom_google_gwt_core_client_Duration_2_classLit = createForClass('com.google.gwt.core.client.', 'Duration'), Lcom_google_gwt_core_client_JavaScriptException_2_classLit = createForClass('com.google.gwt.core.client.', 'JavaScriptException'), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForClass('com.google.gwt.core.client.', 'JavaScriptObject$'), Lcom_google_gwt_core_client_Scheduler_2_classLit = createForClass('com.google.gwt.core.client.', 'Scheduler'), Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'SchedulerImpl'), Ljava_lang_StackTraceElement_2_classLit = createForClass('java.lang.', 'StackTraceElement'), _3Ljava_lang_StackTraceElement_2_classLit = createForArray('[Ljava.lang.', 'StackTraceElement;'), Lcom_google_gwt_core_client_impl_StringBufferImpl_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'StringBufferImpl'), Lcom_google_gwt_core_client_impl_StringBufferImplAppend_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'StringBufferImplAppend'), Lcom_google_gwt_dom_client_Style$Display_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Display', Ljava_lang_Enum_2_classLit, values_1), _3Lcom_google_gwt_dom_client_Style$Display_2_classLit = createForArray('[Lcom.google.gwt.dom.client.', 'Style$Display;'), Lcom_google_gwt_dom_client_Style$Display$1_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Display$1', Lcom_google_gwt_dom_client_Style$Display_2_classLit, null), Lcom_google_gwt_dom_client_Style$Display$2_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Display$2', Lcom_google_gwt_dom_client_Style$Display_2_classLit, null), Lcom_google_gwt_dom_client_Style$Display$3_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Display$3', Lcom_google_gwt_dom_client_Style$Display_2_classLit, null), Lcom_google_gwt_dom_client_Style$Display$4_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Display$4', Lcom_google_gwt_dom_client_Style$Display_2_classLit, null), Lcom_google_gwt_dom_client_Style$Overflow_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Overflow', Ljava_lang_Enum_2_classLit, values_2), _3Lcom_google_gwt_dom_client_Style$Overflow_2_classLit = createForArray('[Lcom.google.gwt.dom.client.', 'Style$Overflow;'), Lcom_google_gwt_dom_client_Style$Overflow$1_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Overflow$1', Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null), Lcom_google_gwt_dom_client_Style$Overflow$2_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Overflow$2', Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null), Lcom_google_gwt_dom_client_Style$Overflow$3_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Overflow$3', Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null), Lcom_google_gwt_dom_client_Style$Overflow$4_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Overflow$4', Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null), Lcom_google_gwt_dom_client_Style$Position_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Position', Ljava_lang_Enum_2_classLit, values_3), _3Lcom_google_gwt_dom_client_Style$Position_2_classLit = createForArray('[Lcom.google.gwt.dom.client.', 'Style$Position;'), Lcom_google_gwt_dom_client_Style$Position$1_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Position$1', Lcom_google_gwt_dom_client_Style$Position_2_classLit, null), Lcom_google_gwt_dom_client_Style$Position$2_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Position$2', Lcom_google_gwt_dom_client_Style$Position_2_classLit, null), Lcom_google_gwt_dom_client_Style$Position$3_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Position$3', Lcom_google_gwt_dom_client_Style$Position_2_classLit, null), Lcom_google_gwt_dom_client_Style$Position$4_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Position$4', Lcom_google_gwt_dom_client_Style$Position_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit', Ljava_lang_Enum_2_classLit, values_4), _3Lcom_google_gwt_dom_client_Style$Unit_2_classLit = createForArray('[Lcom.google.gwt.dom.client.', 'Style$Unit;'), Lcom_google_gwt_dom_client_Style$Unit$1_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$1', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$2_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$2', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$3_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$3', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$4_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$4', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$5_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$5', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$6_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$6', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$7_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$7', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$8_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$8', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_gwt_dom_client_Style$Unit$9_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$9', Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null), Lcom_google_web_bindery_event_shared_Event_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'Event'), Lcom_google_gwt_event_shared_GwtEvent_2_classLit = createForClass('com.google.gwt.event.shared.', 'GwtEvent'), Lcom_google_gwt_event_dom_client_DomEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'DomEvent'), Lcom_google_gwt_event_dom_client_ChangeEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'ChangeEvent'), Lcom_google_gwt_event_dom_client_HumanInputEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'HumanInputEvent'), Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'MouseEvent'), Lcom_google_gwt_event_dom_client_ClickEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'ClickEvent'), Lcom_google_web_bindery_event_shared_Event$Type_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'Event$Type'), Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit = createForClass('com.google.gwt.event.shared.', 'GwtEvent$Type'), Lcom_google_gwt_event_dom_client_DomEvent$Type_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'DomEvent$Type'), Lcom_google_gwt_event_dom_client_KeyEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'KeyEvent'), Lcom_google_gwt_event_dom_client_KeyCodeEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'KeyCodeEvent'), Lcom_google_gwt_event_dom_client_KeyUpEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'KeyUpEvent'), Lcom_google_gwt_event_dom_client_PrivateMap_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'PrivateMap'), Lcom_google_gwt_event_dom_client_TouchEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'TouchEvent'), Lcom_google_gwt_event_dom_client_TouchCancelEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'TouchCancelEvent'), Lcom_google_gwt_event_dom_client_TouchEndEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'TouchEndEvent'), Lcom_google_gwt_event_dom_client_TouchEvent$TouchSupportDetector_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'TouchEvent$TouchSupportDetector'), Lcom_google_gwt_event_dom_client_TouchMoveEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'TouchMoveEvent'), Lcom_google_gwt_event_dom_client_TouchStartEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'TouchStartEvent'), Lcom_google_gwt_event_logical_shared_BeforeSelectionEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'BeforeSelectionEvent'), Lcom_google_gwt_event_logical_shared_CloseEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'CloseEvent'), Lcom_google_gwt_event_logical_shared_ResizeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'ResizeEvent'), Lcom_google_gwt_event_logical_shared_SelectionEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'SelectionEvent'), Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'ValueChangeEvent'), Lcom_google_gwt_event_shared_HandlerManager_2_classLit = createForClass('com.google.gwt.event.shared.', 'HandlerManager'), Lcom_google_web_bindery_event_shared_EventBus_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'EventBus'), Lcom_google_web_bindery_event_shared_SimpleEventBus_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'SimpleEventBus'), Lcom_google_gwt_event_shared_HandlerManager$Bus_2_classLit = createForClass('com.google.gwt.event.shared.', 'HandlerManager$Bus'), Lcom_google_gwt_event_shared_LegacyHandlerWrapper_2_classLit = createForClass('com.google.gwt.event.shared.', 'LegacyHandlerWrapper'), Lcom_google_web_bindery_event_shared_UmbrellaException_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'UmbrellaException'), Lcom_google_gwt_event_shared_UmbrellaException_2_classLit = createForClass('com.google.gwt.event.shared.', 'UmbrellaException'), Lcom_google_gwt_http_client_Request_2_classLit = createForClass('com.google.gwt.http.client.', 'Request'), Lcom_google_gwt_http_client_Response_2_classLit = createForClass('com.google.gwt.http.client.', 'Response'), Lcom_google_gwt_http_client_Request$1_2_classLit = createForClass('com.google.gwt.http.client.', 'Request$1'), Lcom_google_gwt_http_client_Request$3_2_classLit = createForClass('com.google.gwt.http.client.', 'Request$3'), Lcom_google_gwt_http_client_RequestBuilder_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestBuilder'), Lcom_google_gwt_http_client_RequestBuilder$1_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestBuilder$1'), Lcom_google_gwt_http_client_RequestBuilder$Method_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestBuilder$Method'), Lcom_google_gwt_http_client_RequestException_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestException'), Lcom_google_gwt_http_client_RequestPermissionException_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestPermissionException'), Lcom_google_gwt_http_client_RequestTimeoutException_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestTimeoutException'), Lcom_google_gwt_i18n_client_AutoDirectionHandler_2_classLit = createForClass('com.google.gwt.i18n.client.', 'AutoDirectionHandler'), Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit = createForEnum('com.google.gwt.i18n.client.', 'HasDirection$Direction', Ljava_lang_Enum_2_classLit, values_5), _3Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit = createForArray('[Lcom.google.gwt.i18n.client.', 'HasDirection$Direction;'), Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass('com.google.gwt.lang.', 'LongLibBase$LongEmul'), _3Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForArray('[Lcom.google.gwt.lang.', 'LongLibBase$LongEmul;'), Lcom_google_gwt_layout_client_Layout_2_classLit = createForClass('com.google.gwt.layout.client.', 'Layout'), Lcom_google_gwt_layout_client_Layout$1_2_classLit = createForClass('com.google.gwt.layout.client.', 'Layout$1'), Lcom_google_gwt_layout_client_Layout$Layer_2_classLit = createForClass('com.google.gwt.layout.client.', 'Layout$Layer'), Lcom_google_gwt_layout_client_LayoutImpl_2_classLit = createForClass('com.google.gwt.layout.client.', 'LayoutImpl'), Lcom_google_gwt_resources_client_impl_ImageResourcePrototype_2_classLit = createForClass('com.google.gwt.resources.client.impl.', 'ImageResourcePrototype'), Lcom_google_gwt_text_shared_AbstractRenderer_2_classLit = createForClass('com.google.gwt.text.shared.', 'AbstractRenderer'), Lcom_google_gwt_text_shared_testing_PassthroughParser_2_classLit = createForClass('com.google.gwt.text.shared.testing.', 'PassthroughParser'), Lcom_google_gwt_text_shared_testing_PassthroughRenderer_2_classLit = createForClass('com.google.gwt.text.shared.testing.', 'PassthroughRenderer'), Lcom_google_gwt_touch_client_DefaultMomentum_2_classLit = createForClass('com.google.gwt.touch.client.', 'DefaultMomentum'), Lcom_google_gwt_touch_client_Momentum$State_2_classLit = createForClass('com.google.gwt.touch.client.', 'Momentum$State'), Lcom_google_gwt_touch_client_Point_2_classLit = createForClass('com.google.gwt.touch.client.', 'Point'), Lcom_google_gwt_touch_client_TouchScroller_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller'), Lcom_google_gwt_touch_client_TouchScroller$1_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$1'), Lcom_google_gwt_touch_client_TouchScroller$2_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$2'), Lcom_google_gwt_touch_client_TouchScroller$3_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$3'), Lcom_google_gwt_touch_client_TouchScroller$4_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$4'), Lcom_google_gwt_touch_client_TouchScroller$5_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$5'), Lcom_google_gwt_touch_client_TouchScroller$MomentumCommand_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$MomentumCommand'), Lcom_google_gwt_touch_client_TouchScroller$MomentumCommand$1_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$MomentumCommand$1'), Lcom_google_gwt_touch_client_TouchScroller$TemporalPoint_2_classLit = createForClass('com.google.gwt.touch.client.', 'TouchScroller$TemporalPoint'), Lcom_google_gwt_user_client_BaseListenerWrapper_2_classLit = createForClass('com.google.gwt.user.client.', 'BaseListenerWrapper'), Lcom_google_gwt_user_client_CommandCanceledException_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandCanceledException'), Lcom_google_gwt_user_client_CommandExecutor_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor'), Lcom_google_gwt_user_client_CommandExecutor$1_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor$1'), Lcom_google_gwt_user_client_CommandExecutor$2_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor$2'), Lcom_google_gwt_user_client_CommandExecutor$CircularIterator_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor$CircularIterator'), Lcom_google_gwt_user_client_Event$NativePreviewEvent_2_classLit = createForClass('com.google.gwt.user.client.', 'Event$NativePreviewEvent'), Lcom_google_gwt_user_client_Timer$1_2_classLit = createForClass('com.google.gwt.user.client.', 'Timer$1'), Lcom_google_gwt_user_client_Window$ClosingEvent_2_classLit = createForClass('com.google.gwt.user.client.', 'Window$ClosingEvent'), Lcom_google_gwt_user_client_Window$WindowHandlers_2_classLit = createForClass('com.google.gwt.user.client.', 'Window$WindowHandlers'), Lcom_google_gwt_user_client_impl_HistoryImpl_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImpl'), Lcom_google_gwt_user_client_impl_HistoryImplTimer_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImplTimer'), Lcom_google_gwt_user_client_impl_HistoryImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImplMozilla'), Lcom_google_gwt_user_client_rpc_InvocationException_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'InvocationException'), Lcom_google_gwt_user_client_rpc_RpcRequestBuilder_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'RpcRequestBuilder'), Lcom_google_gwt_user_client_rpc_SerializationException_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'SerializationException'), Lcom_google_gwt_user_client_rpc_ServiceDefTarget$NoServiceEntryPointSpecifiedException_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'ServiceDefTarget$NoServiceEntryPointSpecifiedException'), Lcom_google_gwt_user_client_rpc_StatusCodeException_2_classLit = createForClass('com.google.gwt.user.client.rpc.', 'StatusCodeException'), Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStream_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'AbstractSerializationStream'), Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'AbstractSerializationStreamReader'), Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamWriter_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'AbstractSerializationStreamWriter'), Lcom_google_gwt_user_client_rpc_impl_ClientSerializationStreamReader_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'ClientSerializationStreamReader'), Lcom_google_gwt_user_client_rpc_impl_ClientSerializationStreamWriter_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'ClientSerializationStreamWriter'), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter'), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader', Ljava_lang_Enum_2_classLit, values_6), _3Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit = createForArray('[Lcom.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader;'), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$1_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$1', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$10_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$10', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$11_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$11', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$2_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$2', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$3_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$3', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$4_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$4', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$5_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$5', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$6_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$6', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$7_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$7', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$8_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$8', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader$9_2_classLit = createForEnum('com.google.gwt.user.client.rpc.impl.', 'RequestCallbackAdapter$ResponseReader$9', Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter$ResponseReader_2_classLit, null), Lcom_google_gwt_user_client_rpc_impl_RpcStatsContext_2_classLit = createForClass('com.google.gwt.user.client.rpc.impl.', 'RpcStatsContext'), Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ComplexPanel'), Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AbsolutePanel'), Lcom_google_gwt_user_client_ui_AbstractImagePrototype_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AbstractImagePrototype'), Lcom_google_gwt_user_client_ui_FocusWidget_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'FocusWidget'), Lcom_google_gwt_user_client_ui_Anchor_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Anchor'), Lcom_google_gwt_user_client_ui_AttachDetachException_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AttachDetachException'), Lcom_google_gwt_user_client_ui_AttachDetachException$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AttachDetachException$1'), Lcom_google_gwt_user_client_ui_AttachDetachException$2_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AttachDetachException$2'), Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ButtonBase'), Lcom_google_gwt_user_client_ui_Button_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Button'), Lcom_google_gwt_user_client_ui_CellPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'CellPanel'), Lcom_google_gwt_user_client_ui_CheckBox_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'CheckBox'), Lcom_google_gwt_user_client_ui_CheckBox$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'CheckBox$1'), Lcom_google_gwt_user_client_ui_DeckPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DeckPanel'), Lcom_google_gwt_user_client_ui_DeckPanel$SlideAnimation_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DeckPanel$SlideAnimation'), Lcom_google_gwt_user_client_ui_TabBar_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TabBar'), Lcom_google_gwt_user_client_ui_TabPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TabPanel'), Lcom_google_gwt_user_client_ui_DecoratedTabPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DecoratedTabPanel'), Lcom_google_gwt_user_client_ui_DecoratorPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DecoratorPanel'), Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DirectionalTextHelper'), _3Lcom_google_gwt_user_client_ui_Widget_2_classLit = createForArray('[Lcom.google.gwt.user.client.ui.', 'Widget;'), Lcom_google_gwt_user_client_ui_DockLayoutPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DockLayoutPanel'), Lcom_google_gwt_user_client_ui_DockLayoutPanel$Direction_2_classLit = createForEnum('com.google.gwt.user.client.ui.', 'DockLayoutPanel$Direction', Ljava_lang_Enum_2_classLit, values_7), _3Lcom_google_gwt_user_client_ui_DockLayoutPanel$Direction_2_classLit = createForArray('[Lcom.google.gwt.user.client.ui.', 'DockLayoutPanel$Direction;'), Lcom_google_gwt_user_client_ui_LayoutCommand_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'LayoutCommand'), Lcom_google_gwt_user_client_ui_DockLayoutPanel$DockAnimateCommand_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DockLayoutPanel$DockAnimateCommand'), Lcom_google_gwt_user_client_ui_DockLayoutPanel$LayoutData_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'DockLayoutPanel$LayoutData'), Lcom_google_gwt_user_client_ui_Frame_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Frame'), Lcom_google_gwt_user_client_ui_LabelBase_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'LabelBase'), Lcom_google_gwt_user_client_ui_Label_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Label'), Lcom_google_gwt_user_client_ui_HTML_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HTML'), Lcom_google_gwt_user_client_ui_HasHorizontalAlignment$AutoHorizontalAlignmentConstant_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HasHorizontalAlignment$AutoHorizontalAlignmentConstant'), Lcom_google_gwt_user_client_ui_HasHorizontalAlignment$HorizontalAlignmentConstant_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HasHorizontalAlignment$HorizontalAlignmentConstant'), Lcom_google_gwt_user_client_ui_HasVerticalAlignment$VerticalAlignmentConstant_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HasVerticalAlignment$VerticalAlignmentConstant'), Lcom_google_gwt_user_client_ui_HorizontalPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HorizontalPanel'), Lcom_google_gwt_user_client_ui_SplitPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'SplitPanel'), Lcom_google_gwt_user_client_ui_HorizontalSplitPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HorizontalSplitPanel'), Lcom_google_gwt_user_client_ui_HorizontalSplitPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HorizontalSplitPanel$1'), Lcom_google_gwt_user_client_ui_HorizontalSplitPanel$Impl_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HorizontalSplitPanel$Impl'), Lcom_google_gwt_user_client_ui_Image_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image'), Lcom_google_gwt_user_client_ui_Image$State_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image$State'), Lcom_google_gwt_user_client_ui_Image$ClippedState_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image$ClippedState'), Lcom_google_gwt_user_client_ui_Image$State$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image$State$1'), Lcom_google_gwt_user_client_ui_LayoutCommand$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'LayoutCommand$1'), Lcom_google_gwt_user_client_ui_ListBox_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ListBox'), Lcom_google_gwt_user_client_ui_ListenerWrapper_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ListenerWrapper'), Lcom_google_gwt_user_client_ui_ListenerWrapper$WrappedTabListener_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ListenerWrapper$WrappedTabListener'), _3C_classLit = createForArray('', '[C'), Lcom_google_gwt_user_client_ui_PopupPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'PopupPanel$1'), Lcom_google_gwt_user_client_ui_PopupPanel$3_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'PopupPanel$3'), Lcom_google_gwt_user_client_ui_PopupPanel$4_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'PopupPanel$4'), Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'PopupPanel$ResizeAnimation'), Lcom_google_gwt_user_client_ui_RichTextArea_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RichTextArea'), Lcom_google_gwt_user_client_ui_RootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel'), Lcom_google_gwt_user_client_ui_RootPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel$1'), Lcom_google_gwt_user_client_ui_RootPanel$2_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel$2'), Lcom_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel$DefaultRootPanel'), Lcom_google_gwt_user_client_ui_ScrollPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ScrollPanel'), Lcom_google_gwt_user_client_ui_ScrollPanel$Impl_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ScrollPanel$Impl'), Lcom_google_gwt_user_client_ui_ScrollPanel$ImplRtlReversed_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ScrollPanel$ImplRtlReversed'), Lcom_google_gwt_user_client_ui_SimplePanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'SimplePanel$1'), _3Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForArray('[Lcom.google.gwt.core.client.', 'JavaScriptObject$;'), Lcom_google_gwt_user_client_ui_TabBar$ClickDelegatePanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TabBar$ClickDelegatePanel'), Lcom_google_gwt_user_client_ui_TabPanel$TabbedDeckPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TabPanel$TabbedDeckPanel'), Lcom_google_gwt_user_client_ui_TabPanel$UnmodifiableTabBar_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TabPanel$UnmodifiableTabBar'), Lcom_google_gwt_user_client_ui_ValueBoxBase_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ValueBoxBase'), Lcom_google_gwt_user_client_ui_TextBoxBase_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TextBoxBase'), Lcom_google_gwt_user_client_ui_TextArea_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TextArea'), Lcom_google_gwt_user_client_ui_TextBox_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TextBox'), Lcom_google_gwt_user_client_ui_Tree_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Tree'), Lcom_google_gwt_user_client_ui_Tree$ImageAdapter_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Tree$ImageAdapter'), Lcom_google_gwt_user_client_ui_TreeItem$TreeItemAnimation_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TreeItem$TreeItemAnimation'), Lcom_google_gwt_user_client_ui_TreeItem$TreeItemImpl_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'TreeItem$TreeItemImpl'), Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit = createForEnum('com.google.gwt.user.client.ui.', 'ValueBoxBase$TextAlignment', Ljava_lang_Enum_2_classLit, values_8), _3Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit = createForArray('[Lcom.google.gwt.user.client.ui.', 'ValueBoxBase$TextAlignment;'), Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$1_2_classLit = createForEnum('com.google.gwt.user.client.ui.', 'ValueBoxBase$TextAlignment$1', Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit, null), Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$2_2_classLit = createForEnum('com.google.gwt.user.client.ui.', 'ValueBoxBase$TextAlignment$2', Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit, null), Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$3_2_classLit = createForEnum('com.google.gwt.user.client.ui.', 'ValueBoxBase$TextAlignment$3', Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit, null), Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment$4_2_classLit = createForEnum('com.google.gwt.user.client.ui.', 'ValueBoxBase$TextAlignment$4', Lcom_google_gwt_user_client_ui_ValueBoxBase$TextAlignment_2_classLit, null), Lcom_google_gwt_user_client_ui_VerticalPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'VerticalPanel'), Lcom_google_gwt_user_client_ui_WidgetCollection_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'WidgetCollection'), Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'WidgetCollection$WidgetIterator'), Lcom_google_gwt_user_client_ui_WidgetIterators$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'WidgetIterators$1'), Lcom_google_gwt_user_client_ui_impl_ClippedImagePrototype_2_classLit = createForClass('com.google.gwt.user.client.ui.impl.', 'ClippedImagePrototype'), Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla$1_2_classLit = createForClass('com.google.gwt.user.client.ui.impl.', 'PopupImplMozilla$1'), Lcom_google_gwt_user_client_ui_impl_RichTextAreaImpl_2_classLit = createForClass('com.google.gwt.user.client.ui.impl.', 'RichTextAreaImpl'), Lcom_google_gwt_user_client_ui_impl_RichTextAreaImplStandard_2_classLit = createForClass('com.google.gwt.user.client.ui.impl.', 'RichTextAreaImplStandard'), Lcom_google_gwt_user_client_ui_impl_RichTextAreaImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.ui.impl.', 'RichTextAreaImplMozilla'), Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'SimpleEventBus$1'), Lcom_google_web_bindery_event_shared_SimpleEventBus$2_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'SimpleEventBus$2'), Lcom_google_web_bindery_event_shared_SimpleEventBus$3_2_classLit = createForClass('com.google.web.bindery.event.shared.', 'SimpleEventBus$3'), _3Ljava_lang_Throwable_2_classLit = createForArray('[Ljava.lang.', 'Throwable;'), Ljava_lang_ArithmeticException_2_classLit = createForClass('java.lang.', 'ArithmeticException'), Ljava_lang_IndexOutOfBoundsException_2_classLit = createForClass('java.lang.', 'IndexOutOfBoundsException'), Ljava_lang_ArrayStoreException_2_classLit = createForClass('java.lang.', 'ArrayStoreException'), Ljava_lang_Byte_2_classLit = createForClass('java.lang.', 'Byte'), _3Ljava_lang_Byte_2_classLit = createForArray('[Ljava.lang.', 'Byte;'), Ljava_lang_Character_2_classLit = createForClass('java.lang.', 'Character'), _3Ljava_lang_Character_2_classLit = createForArray('[Ljava.lang.', 'Character;'), Ljava_lang_Class_2_classLit = createForClass('java.lang.', 'Class'), Ljava_lang_ClassCastException_2_classLit = createForClass('java.lang.', 'ClassCastException'), Ljava_lang_Double_2_classLit = createForClass('java.lang.', 'Double'), Ljava_lang_Float_2_classLit = createForClass('java.lang.', 'Float'), Ljava_lang_IllegalStateException_2_classLit = createForClass('java.lang.', 'IllegalStateException'), _3Ljava_lang_Integer_2_classLit = createForArray('[Ljava.lang.', 'Integer;'), Ljava_lang_Long_2_classLit = createForClass('java.lang.', 'Long'), _3Ljava_lang_Long_2_classLit = createForArray('[Ljava.lang.', 'Long;'), Ljava_lang_NullPointerException_2_classLit = createForClass('java.lang.', 'NullPointerException'), Ljava_lang_Short_2_classLit = createForClass('java.lang.', 'Short'), _3Ljava_lang_Short_2_classLit = createForArray('[Ljava.lang.', 'Short;'), Ljava_lang_StringBuffer_2_classLit = createForClass('java.lang.', 'StringBuffer'), Ljava_lang_StringBuilder_2_classLit = createForClass('java.lang.', 'StringBuilder'), Ljava_lang_UnsupportedOperationException_2_classLit = createForClass('java.lang.', 'UnsupportedOperationException'), _3Ljava_lang_Object_2_classLit = createForArray('[Ljava.lang.', 'Object;'), Ljava_util_AbstractMap_2_classLit = createForClass('java.util.', 'AbstractMap'), Ljava_util_AbstractHashMap_2_classLit = createForClass('java.util.', 'AbstractHashMap'), Ljava_util_AbstractHashMap$EntrySet_2_classLit = createForClass('java.util.', 'AbstractHashMap$EntrySet'), Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit = createForClass('java.util.', 'AbstractHashMap$EntrySetIterator'), Ljava_util_AbstractMapEntry_2_classLit = createForClass('java.util.', 'AbstractMapEntry'), Ljava_util_AbstractHashMap$MapEntryNull_2_classLit = createForClass('java.util.', 'AbstractHashMap$MapEntryNull'), Ljava_util_AbstractHashMap$MapEntryString_2_classLit = createForClass('java.util.', 'AbstractHashMap$MapEntryString'), Ljava_util_AbstractList$IteratorImpl_2_classLit = createForClass('java.util.', 'AbstractList$IteratorImpl'), Ljava_util_AbstractList$ListIteratorImpl_2_classLit = createForClass('java.util.', 'AbstractList$ListIteratorImpl'), Ljava_util_AbstractMap$1_2_classLit = createForClass('java.util.', 'AbstractMap$1'), Ljava_util_AbstractMap$1$1_2_classLit = createForClass('java.util.', 'AbstractMap$1$1'), Ljava_util_AbstractMap$2_2_classLit = createForClass('java.util.', 'AbstractMap$2'), Ljava_util_AbstractMap$2$1_2_classLit = createForClass('java.util.', 'AbstractMap$2$1'), Ljava_util_Arrays$ArrayList_2_classLit = createForClass('java.util.', 'Arrays$ArrayList'), Ljava_util_Collections$EmptyList_2_classLit = createForClass('java.util.', 'Collections$EmptyList'), Ljava_util_HashMap_2_classLit = createForClass('java.util.', 'HashMap'), Ljava_util_IdentityHashMap_2_classLit = createForClass('java.util.', 'IdentityHashMap'), Ljava_util_LinkedHashMap_2_classLit = createForClass('java.util.', 'LinkedHashMap'), Ljava_util_MapEntryImpl_2_classLit = createForClass('java.util.', 'MapEntryImpl'), Ljava_util_LinkedHashMap$ChainEntry_2_classLit = createForClass('java.util.', 'LinkedHashMap$ChainEntry'), Ljava_util_LinkedHashMap$EntrySet_2_classLit = createForClass('java.util.', 'LinkedHashMap$EntrySet'), Ljava_util_LinkedHashMap$EntrySet$EntryIterator_2_classLit = createForClass('java.util.', 'LinkedHashMap$EntrySet$EntryIterator'), Ljava_util_NoSuchElementException_2_classLit = createForClass('java.util.', 'NoSuchElementException');
$stats && $stats({moduleName:'playmaker',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});
if ($wnd.playmaker) $wnd.playmaker.onScriptLoad();
--></script></body></html>
